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
在requireJS 如何注册过滤器 #620
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在尝试用requireJS+art-template 搭建一个应用,但是在创建过滤器的时候出现了异常,我尝试把赋值语句提前也没有用,
require(['index','art-template'], function (i,template) {
console.log("初始化");
if (typeof (template) != "undefined") {
template.defaults.imports.createListDir = function (i, obj, pageid) {
.........
}
});
The text was updated successfully, but these errors were encountered: