X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Include.js;h=3959cb4d7b9043766dc7fb12d624ec42f2992790;hp=fe014cfc29aee47b66baefafe5a5b629807676e0;hb=1524f8b36295809a3eedd6da3c6494f8aa0d86f5;hpb=2de85d3a6dfc85e90825e959b648b130f2374518 diff --git a/Pman.Include.js b/Pman.Include.js index fe014cfc..3959cb4d 100644 --- a/Pman.Include.js +++ b/Pman.Include.js @@ -7,15 +7,14 @@ Pman.Include = function(sp) { - Pman.Include.script(sp, true) - + Pman.Include.script(sp, true); -) +} Pman.Include.cached = function(sp) { - Pman.Include.script(sp, false) + Pman.Include.script(sp, false); -) +} Pman.Include.script = function(sp,cached) { var head = document.getElementsByTagName("head")[0]; @@ -28,6 +27,5 @@ Pman.Include.script = function(sp,cached) { script.setAttribute("type", "text/javascript"); //script.setAttribute("id", trans.scriptId); head.appendChild(script); - - Roo.get(documen.body).appendChild(); -) \ No newline at end of file + +} \ No newline at end of file