boot.js

来自「仓库管理系统,适合各种行业的仓库管理系统」· JavaScript 代码 · 共 18 行

JS
18
字号
(function()
{var d=document,h="script",t,i,c=[],s=d.getElementsByTagName(h),s=s[s.length-1],n="/_f.js\"></";
if(typeof DronFw!="object")
DronFw={Path:s.getAttribute("src").replace("boot.js",""),
Class:{},JsPath:"jsfiles",
Call:function(f){var n=d.createElement(h);
n.type="text/java"+h;n.src=this.JsPath+"/"+f+".js";
d.body.appendChild(n)},Wait:function(a,b){if(a())return b();
setTimeout(function(){DronFw.Wait(a,b)},50);}};
var m="<"+h+" type=\"text/java"+h+"\" src=\""+DronFw.Path;
$=function(a){return d.getElementById(a)};
if(t=s.getAttribute("loadClass"))
	c=t.split(";");
for(i in c)
	d.write(m+"classes"+n.replace("f",c[i])+h+">");
c=[];if(t=s.getAttribute("loadPrototype"))c=t.split(";");
for(i in c)
	d.write(m+"prototypes"+n.replace("f",c[i])+h+">")})()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?