I have problem witha specific piece of code:
<script data-main="http://northapp.co/_a/js/main.min.js" src="http://northapp.co/_a/js/require.js"></script>
Why can not I connect require.js
with jquery.min.js
? I would think this code below would work, but it does not. Any ideas?
<script data-main="http://northapp.co/_a/js/main.min.js" src="http://northapp.co/_a/js/require.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
如果require.js
需要jquery.js
起作用,则必须在require.js
引用之前包含jquery.js
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.