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

请问如何向map.json文件中添加页面依赖 #2

Closed
fancyboynet opened this issue Jun 22, 2016 · 3 comments
Closed

请问如何向map.json文件中添加页面依赖 #2

fancyboynet opened this issue Jun 22, 2016 · 3 comments

Comments

@fancyboynet
Copy link

fancyboynet commented Jun 22, 2016

是类似调用下面的方法吗(伪代码),尝试了下好像不起作用,应该是哪里没做对,望指导下

var lang = fis.compile.lang;
lang.uri.ld + quote + value + quote + lang.uri.rd;
var lang = fis.compile.lang;
lang.id.ld + quote + value + quote + lang.id.rd;
var lang = fis.compile.lang;
lang.id.wrap(quote + value + quote);
@2betop
Copy link
Contributor

2betop commented Jun 22, 2016

加依赖应该是 lang.require.wrap(quote + value + quote)

@fancyboynet
Copy link
Author

谢谢,那这里的lang.uri和lang.id是起什么作用的呢?

@2betop
Copy link
Contributor

2betop commented Jun 22, 2016

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