Fix function undefined when loading a template

pull/1/head
yflory 8 years ago
parent 0ef1c14d7f
commit c820b3485c

@ -727,7 +727,7 @@ define([
parentEl[newName] = element;
parentEl[oldName] = undefined;
delete parentEl[oldName];
cb();
if (typeof cb === "function") { cb(); }
};
// REPLACE

Loading…
Cancel
Save