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

引入seajs-flush后confirmbox组件报错 #12

Open
billwing opened this issue Dec 23, 2013 · 4 comments
Open

引入seajs-flush后confirmbox组件报错 #12

billwing opened this issue Dec 23, 2013 · 4 comments

Comments

@billwing
Copy link

不确认是否还是具名模块所引起的问题,怀疑是handlebars模板文件的问题……
引入seajs-flush后,autocomplete, dialog, confirmbox, select这几个组件都会报错:

Uncaught TypeError: Cannot read property 'template' of null

DEMO:http://billwing.github.io/issue/seajs-test.html
@lifesinger @afc163 求助这是神马问题。。

@popomore
Copy link
Member

gallery/handlebars/1.0.2/runtime 这个没有?

@billwing
Copy link
Author

billwing commented Jan 1, 2014

@popomore runtime这个文件是有的,貌似没有加载进来?

@popomore
Copy link
Member

popomore commented Jan 2, 2014

好像是 flush 的问题,comformbox.js 中打包了模板,模板依赖 runtime。看起来 flush 没有去加载这个依赖。 @lifesinger

@billwing
Copy link
Author

billwing commented Jan 9, 2014

@popomore 大神们都没空么,求助帮解决问题~

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