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 @@
"maxerr": 100,
"newcap": false,
"quotmark": "double",
"smarttabs": true,
"strict": true,
"sub": true,
"trailing": true,
......
......@@ -160,9 +160,9 @@ jQuery.event = {
handleObj = eventType[ j ];
if ( ( mappedTypes || origType === handleObj.origType ) &&
( !handler || handler.guid === handleObj.guid ) &&
( !namespaces || namespaces.test( handleObj.namespace ) ) &&
( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
( !handler || handler.guid === handleObj.guid ) &&
( !namespaces || namespaces.test( handleObj.namespace ) ) &&
( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
eventType.splice( j--, 1 );
if ( handleObj.selector ) {
......
......@@ -172,7 +172,7 @@ jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( me
if ( win ) {
win.scrollTo(
!top ? val : jQuery( win ).scrollLeft(),
top ? val : jQuery( win ).scrollTop()
top ? val : jQuery( win ).scrollTop()
);
} 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