},
"rules": {
+ "one-var": ["error", {"var": "always"}],
"strict": ["error", "function"]
}
}
"rules": {
// That is okay for the built version
- "no-multiple-empty-lines": "off"
+ "no-multiple-empty-lines": "off",
+ "one-var": "off"
}
}
]
// IE/Edge misreport `getComputedStyle` of table rows with width/height
// set in CSS while `offset*` properties report correct values.
support.reliableTrDimensions = function() {
- var table, tr, trChild;
+ var table, tr, trChild, trStyle;
if ( reliableTrDimensionsVal == null ) {
table = document.createElement( "table" );
tr = document.createElement( "tr" );
.appendChild( tr )
.appendChild( trChild );
- var trStyle = window.getComputedStyle( tr );
+ trStyle = window.getComputedStyle( tr );
reliableTrDimensionsVal = parseInt( trStyle.height ) > 3;
documentElement.removeChild( table );
dispatch: function( nativeEvent ) {
- // Make a writable jQuery.Event from the native event object
- var event = jQuery.event.fix( nativeEvent );
-
var i, j, ret, matched, handleObj, handlerQueue,
args = new Array( arguments.length ),
+
+ // Make a writable jQuery.Event from the native event object
+ event = jQuery.event.fix( nativeEvent ),
+
handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [],
special = jQuery.event.special[ event.type ] || {};
"brace-style": "off",
"key-spacing": "off",
"camelcase": "off",
+ "one-var": "off",
"strict": "off",
// Not really too many - waiting for autofix features for these rules