1
加載HTML文件與require.js的錯誤,我有文件當與擴展
reg.html
<label>Name:</label>
在require.config
:
requirejs.config({
paths: {
reg:"/templates/reg.html"
}
})
當我嘗試加載模板:
define('ng_start',["angular","jquery","reg"],function(An,$,template){
....
})
GET /templates/registry.html.js?bust=1417489939824228.12310815788805 require.js:166未捕獲的錯誤:腳本錯誤:註冊表 http://requirejs.org/docs/errors.html#scripterror
如何刪除JS從registry.html.js擴展?
超級....謝謝 – 2014-12-02 07:56:09