Commit 6618ff0b authored by John Resig's avatar John Resig

Removed some dead code from buildFragment. Thanks to Sean Catchpole for the suggestion.

parent 199a7211
......@@ -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;
}
}
......
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