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

需要一个tpl loader插件 #15

Closed
errorrik opened this issue Mar 9, 2013 · 6 comments
Closed

需要一个tpl loader插件 #15

errorrik opened this issue Mar 9, 2013 · 6 comments
Assignees

Comments

@errorrik
Copy link

errorrik commented Mar 9, 2013

No description provided.

@otakustay
Copy link
Member

42594c1 中搞了一个非常粗糙的实现,请 @errorrik 审核一下,没问题了再关闭本Issue。

对Loader Plugin不是很熟悉,如果不使用factory,而是直接把一个Object字面量放在define中,那应该不会把templateajax作为这个plugin的依赖对吧,所以必须有factory函数来让loader解析到依赖并处理?

@otakustay
Copy link
Member

更新 41f091a 改个脑残的问题, @errorrik 直接看源码得了

@ghost ghost assigned errorrik Mar 10, 2013
@errorrik
Copy link
Author

我觉得没啥问题。就是碰到模板import和master的时候,需要手工声明

这个暂时没法搞,我考虑支持下loader-plugin的fromText

@otakustay
Copy link
Member

啥意思来着……是指模板间的依赖关系吗?

@errorrik
Copy link
Author

嗯,是地。

不过这个也够暂时用了~

@otakustay
Copy link
Member

那先关闭这个Issue,对于tpl插件的增加后续可以新开讨论

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

No branches or pull requests

2 participants