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

如果html中没有声明body标签会直接报错 #25

Open
T-baby opened this issue Feb 29, 2016 · 3 comments
Open

如果html中没有声明body标签会直接报错 #25

T-baby opened this issue Feb 29, 2016 · 3 comments

Comments

@T-baby
Copy link

T-baby commented Feb 29, 2016

如题,如果不声明body标签就会直接报 require is not defined

@oxUnd
Copy link
Contributor

oxUnd commented Mar 2, 2016

这个跟具体编译工具有关,跟 mod 无关;

@oxUnd
Copy link
Contributor

oxUnd commented Mar 2, 2016

大概意思是,编译工具会根据 body 标签这个位置,来引入 mod.js。

当发现类似的问题,请判断 mod.js 是否被加载了,其实如果你看一下 mod.js 的代码的话,很简短,出啥问题也一目了然;

@T-baby
Copy link
Author

T-baby commented Mar 7, 2016

估摸着是fis的问题吧

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