git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199a721
)
Removed some dead code from buildFragment. Thanks to Sean Catchpole for the suggestion.
author
John Resig
<jeresig@gmail.com>
Fri, 15 Jan 2010 22:46:33 +0000
(17:46 -0500)
committer
John Resig
<jeresig@gmail.com>
Fri, 15 Jan 2010 22:46:33 +0000
(17:46 -0500)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
742ec25
..
59edcbc
100644
(file)
--- a/
src/manipulation.js
+++ b/
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;
}
}