aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimmywil <timmywillisn@gmail.com>2011-10-24 07:17:08 -0700
committertimmywil <timmywillisn@gmail.com>2011-10-24 07:17:08 -0700
commitc4cc343c9cc47dbb1aa3501a9098e29aac74ad67 (patch)
tree8597a56c6ab2ac31b0ed7a0dddaa726a4306f8cc
parentf3a4d261ecd0e858515f6e3fa8f5ff59078ec895 (diff)
parent734700764549b33f19a1219d742e777cc0fc21b4 (diff)
downloadjquery-c4cc343c9cc47dbb1aa3501a9098e29aac74ad67.tar.gz
jquery-c4cc343c9cc47dbb1aa3501a9098e29aac74ad67.zip
Merge pull request #563 from rwldrn/fix-spaces
Clean up spacing in manipulation
-rw-r--r--src/manipulation.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 9a662aca4..add7cda69 100644
--- a/src/manipulation.js
+++ b/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