We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在js文件A中定义了 KISSY.app("OS"), 如果多引入一个 js 文件 B,即使B放在A文件后,仍然会出现未定义错误。
IE8下能用,IE8兼容模式开始就不能用了... 是不是和脚本解析顺序有关?
UPDATE:人工声明一下 var OS = OS || {} ,问题解决了。
The text was updated successfully, but these errors were encountered:
想问下,两个 js 文件里面都是怎样写的? 我测试了下,没发现问题。在 IE8 兼容模式下也没问题。
Sorry, something went wrong.
额... 我无法重现这个bug了。把之前写的那句var OS = OS || {} 删掉也重现不了... 囧。
问题解决了就好^o^
No branches or pull requests
在js文件A中定义了 KISSY.app("OS"), 如果多引入一个 js 文件 B,即使B放在A文件后,仍然会出现未定义错误。
IE8下能用,IE8兼容模式开始就不能用了... 是不是和脚本解析顺序有关?
UPDATE:人工声明一下 var OS = OS || {} ,问题解决了。
The text was updated successfully, but these errors were encountered: