update confirm
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
define( [
|
||||
"./var/nodeNames"
|
||||
], function( nodeNames ) {
|
||||
|
||||
function createSafeFragment( document ) {
|
||||
var list = nodeNames.split( "|" ),
|
||||
safeFrag = document.createDocumentFragment();
|
||||
|
||||
if ( safeFrag.createElement ) {
|
||||
while ( list.length ) {
|
||||
safeFrag.createElement(
|
||||
list.pop()
|
||||
);
|
||||
}
|
||||
}
|
||||
return safeFrag;
|
||||
}
|
||||
|
||||
return createSafeFragment;
|
||||
} );
|
||||
Reference in New Issue
Block a user