<!DOCTYPE html5>
<html>
<head>
<meta charset="utf-8" />
<!--投产地址另行公布-->
<script src="http://192.168.60.207/jslibs/JS_LIBS/V2/lib/sea.js" id="jobcnjs"></script>
</head>
<body>
<script>
seajs.config({
base : "http://192.168.60.207/jslibs/JS_LIBS/V2/",
alias: {
"util":"dist/jobcn.util.0.1b.js",
"jQuery":"lib/jquery-1.9.1.js"
}
});
//需要打开控制台查看
seajs.use(['util','jQuery'],function(util, $){
window.util = util;
util.pkg("jobcn.util",window);// ==window.jobcn.util
seajs.log(window)
$("body").append("<div>window.jobcn:"+util.JSON.toString(jobcn)+"</div>")
var ni={hao:{}};
util.pkg("jobcn.util",ni);
seajs.log(ni);
$("body").append("<div>ni:"+util.JSON.toString(ni)+"</div>")
});
</script>
</body>
</html>
分享到:
相关推荐
KET test2 答案及听力原文
javaTest1javaTest1javaTest1
\ajaxtest2(表格javaEye).rar\ajaxtest2(表格javaEye).rar\ajaxtest2(表格javaEye).rar\ajaxtest2(表格javaEye).rar\ajaxtest2(表格javaEye).rar
test2.html
Test2.java
test2.java
Test2_2.scala
test2.m
test2.vue
Test2.cpp
test2.py
test2.c
test2_zhaoziqing2.sln