-
Notifications
You must be signed in to change notification settings - Fork 15
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
dart2js doesn't work anymore with mustache #62
Comments
How exactly are you using the library? Do you have a public repo that I can have a look? There are some changes regarding mirrors yes and if you have the problem only on transpiled code, it should have to do with that, but I have to reproduce the problem first. |
we use it in our dev so i thought that something is wrong with our environment so i main.dart that consists of coypasted lines above dart2js, also tried ddc, no luck but works in dartium. when i reverted back to mustache4dart 1.0.10 it all works fine again |
Ok, I reproduced the problem. I'll have a look at it asap |
Can you try to run your app with |
looks like it works that way |
It looks like dartjs can not handle all cases with reflection. I'm reworking the context computations on #64 and I hope some of the problems will go aways. If you do not have any other problem I'll close this |
we are already running latest git version in production so its safe to say that we have no problems currently |
what do you mean latest git version? Master is (most of the time) in sync with pub. If you want, you can try branch |
using in pubspec |
var salut = compile('Hello {{name}}!');
print(salut({'name': 'Alice'})); //should print Hello Alice!
i recently upgraded from 1.0.10 to 1.1.0 where all worked fine.
Simple example above doesnt work anymore with pub serve in chrome, but works in dartium. I guess its something related to mirrors?
The text was updated successfully, but these errors were encountered: