Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置paths不起作用 #19

Open
Leechikit opened this issue Dec 10, 2015 · 1 comment
Open

配置paths不起作用 #19

Leechikit opened this issue Dec 10, 2015 · 1 comment

Comments

@Leechikit
Copy link

fis-config.js

fis.hook('amd',{
paths:{
jquery:"http://code.jquery.com/jquery-1.8.0.min.js"
}
})

main.js
define(function(require, exports, module){
var $=require("jquery");
})
这样无法匹配到paths里的Jquery路径

requirejs.config({
paths:{
jquery:"http://code.jquery.com/jquery-1.8.0.min"
}
})
这样就可以

@2betop
Copy link
Contributor

2betop commented Dec 10, 2015

不支持线上的,只能本地文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants