Commit bede0123 authored by Mike Sherov's avatar Mike Sherov

new JSHINT mixed spaces/tabs is smart enough to not warn on multiline...

new JSHINT mixed spaces/tabs is smart enough to not warn on multiline comments, rendering smarttabs useless
parent 227c49a4
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"maxerr": 100, "maxerr": 100,
"newcap": false, "newcap": false,
"quotmark": "double", "quotmark": "double",
"smarttabs": true,
"strict": true, "strict": true,
"sub": true, "sub": true,
"trailing": true, "trailing": true,
......
...@@ -160,9 +160,9 @@ jQuery.event = { ...@@ -160,9 +160,9 @@ jQuery.event = {
handleObj = eventType[ j ]; handleObj = eventType[ j ];
if ( ( mappedTypes || origType === handleObj.origType ) && if ( ( mappedTypes || origType === handleObj.origType ) &&
( !handler || handler.guid === handleObj.guid ) && ( !handler || handler.guid === handleObj.guid ) &&
( !namespaces || namespaces.test( handleObj.namespace ) ) && ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
eventType.splice( j--, 1 ); eventType.splice( j--, 1 );
if ( handleObj.selector ) { if ( handleObj.selector ) {
......
...@@ -172,7 +172,7 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me ...@@ -172,7 +172,7 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
if ( win ) { if ( win ) {
win.scrollTo( win.scrollTo(
!top ? val : jQuery( win ).scrollLeft(), !top ? val : jQuery( win ).scrollLeft(),
top ? val : jQuery( win ).scrollTop() top ? val : jQuery( win ).scrollTop()
); );
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment