-
Notifications
You must be signed in to change notification settings - Fork 263
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
run in ie occur exception : Juicer Compile Exception: Unexpected token #37
Comments
I tried your codes using Please try again using |
Many thanks for your email. my custom function is as below: in firefox and chrome both well,but in ie is always occur exception. 2013/6/13 GuoKai notifications@github.com
|
Thanks for your feedback, i'll check this bug later and then fix it. :) |
Please try another name like |
|
@sumory |
2013/6/14 GuoKai notifications@github.com
|
Hello,everyone,
I just use juicer to use my custom function,and in ie it occur exception, and in chrome and firfox is well,
my custom function is in below:
function default_value(self_value, default_val){
if(!self_value || self_value == "undefined") {
return default_val;
}
return self_value;
}
juicer.register('default', default_value);
and the template write like:
<textarea rows="${alt.custom_attr.input_rows}" cols="${alt.custom_attr.input_cols|default,80}" ></textarea>if I delete the "|default,80", it can run well in ie.
doesn't id support custom function?
does anybody know?
Thanks a lot.
The text was updated successfully, but these errors were encountered: