Skip to content
Permalink
Browse files

Merge pull request #563 from rwldrn/fix-spaces

Clean up spacing in manipulation
  • Loading branch information...
timmywil committed Oct 24, 2011
2 parents f3a4d26 + 7347007 commit c4cc343c9cc47dbb1aa3501a9098e29aac74ad67
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/manipulation.js
@@ -459,12 +459,12 @@ jQuery.buildFragment = function( args, nodes, scripts ) {
var fragment, cacheable, cacheresults, doc,
first = args[ 0 ];

// nodes may contain either an explicit document object,
// a jQuery collection or context object.
// If nodes[0] contains a valid object to assign to doc
if ( nodes && nodes[0] ) {
doc = nodes[0].ownerDocument || nodes[0];
}
// nodes may contain either an explicit document object,
// a jQuery collection or context object.
// If nodes[0] contains a valid object to assign to doc
if ( nodes && nodes[0] ) {
doc = nodes[0].ownerDocument || nodes[0];
}

// Ensure that an attr object doesn't incorrectly stand in as a document object
// Chrome and Firefox seem to allow this to occur and will throw exception

0 comments on commit c4cc343

Please sign in to comment.
You can’t perform that action at this time.