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

请教fis amd插件如何优化text!html类的请求 #4

Open
trainGitHub opened this issue Feb 8, 2015 · 1 comment
Open

请教fis amd插件如何优化text!html类的请求 #4

trainGitHub opened this issue Feb 8, 2015 · 1 comment

Comments

@trainGitHub
Copy link

fis的文档我看了几遍,但是还有些理解不清晰的地方,如果理解有错请见谅。
代码如下:
define(["avalon", "text!./avalon.carousel.html", "css!./avalon.carousel.css", "css!../chameleon/oniui-common.css"], function(avalon, template) {
....
})
在不改变第三方代码的情况下,如何能减少avalon.carousel.html 和 avalon.carousel.css的请求?
如何把异步调用的html改成同步合并到页面中?

@wonderbeyond
Copy link

+1

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