|
@@ -318,10 +318,7 @@
|
|
|
pluginSandbox = {
|
|
|
$: window.jQuery,
|
|
|
jQuery: window.jQuery,
|
|
|
- $o: $o,
|
|
|
- fragment: function(){
|
|
|
- return document.createDocumentFragment();
|
|
|
- }
|
|
|
+ $o: $o
|
|
|
},
|
|
|
currentPlugin = 0,
|
|
|
Sandbox = function(sandbox){
|
|
@@ -333,6 +330,11 @@
|
|
|
for(i in sandbox){
|
|
|
o[i] = sandbox[i];
|
|
|
}
|
|
|
+ if(!exists(o.fragment)){
|
|
|
+ o.fragment = function(){
|
|
|
+ return document.createDocumentFragment();
|
|
|
+ };
|
|
|
+ }
|
|
|
return o;
|
|
|
},
|
|
|
runHook = function(name,args){
|