Skip to content
Permalink
Browse files

Removed some dead code from buildFragment. Thanks to Sean Catchpole f…

…or the suggestion.
  • Loading branch information
jeresig committed Jan 15, 2010
1 parent 199a721 commit 6618ff0b0abe38a0914d8afe0a2b271c977adf6b
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/manipulation.js
@@ -322,7 +322,7 @@ function cloneCopyEvent(orig, ret) {
}

function buildFragment( args, nodes, scripts ) {
var fragment, cacheable, cached, cacheresults, doc;
var fragment, cacheable, cacheresults, doc;

if ( args.length === 1 && typeof args[0] === "string" && args[0].length < 512 && args[0].indexOf("<option") < 0 ) {
cacheable = true;
@@ -331,7 +331,6 @@ function buildFragment( args, nodes, scripts ) {
if ( cacheresults !== 1 ) {
fragment = cacheresults;
}
cached = true;
}
}

0 comments on commit 6618ff0

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