Permalink
Browse files

Core: Align branches: remove an unused variable, add comments

Closes gh-2233
  • Loading branch information...
mgol committed Apr 26, 2015
1 parent 002240a commit f6de5a90ddde29e9096c2e45b9da21e65882b7c0
Showing with 5 additions and 2 deletions.
  1. +2 −0 src/ajax/script.js
  2. +2 −2 src/attributes/attr.js
  3. +1 −0 src/css/support.js
View
@@ -51,6 +51,8 @@ jQuery.ajaxTransport( "script", function( s ) {
}
}
);
// Use native DOM manipulation to avoid our domManip AJAX trickery
document.head.appendChild( script[ 0 ] );
},
abort: function() {
View
@@ -6,7 +6,7 @@ define([
"../selector"
], function( jQuery, rnotwhite, access, support ) {
var nodeHook, boolHook,
var boolHook,
attrHandle = jQuery.expr.attrHandle;
jQuery.fn.extend({
@@ -41,7 +41,7 @@ jQuery.extend({
if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
name = name.toLowerCase();
hooks = jQuery.attrHooks[ name ] ||
( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );
}
if ( value !== undefined ) {
View
@@ -10,6 +10,7 @@ define([
container = document.createElement( "div" ),
div = document.createElement( "div" );
// Finish early in limited (non-browser) environments
if ( !div.style ) {
return;
}

0 comments on commit f6de5a9

Please sign in to comment.