Comments (6)
It's working for me on FF, Chrome & Safari. What's your browser & version?
from dustjs.
It doesn't work only with FF 4.0b6.
With Chrome and FF 3.6 it's working.
Sorry, I didn't expect that it will work with other browsers.
I'm not sure if I should close the issue. Probably it makes sense to check why there is a problem with beta version of FF.
from dustjs.
Weird... this only happens the first time the params demo is rendered -- notice FF badly mangles the source in the context textarea. If you switch to another template and come back it works.
This is not a Dust issue but I'll poke around with Firebug Lite and see what's what.
from dustjs.
I can confirm your description of the situation. Switching to another template resolve the issue.
You have a good chance to discover a mayor bug in FF 4 :)
from dustjs.
This is definitely a jsbeautify/FF issue. Copy the following into http://jsbeautifier.org:
{ "helper": function (chunk, context, bodies, params) { return chunk.write(params.foo); } }
Crazily enough, it mangles the result in 4.0b6, but only on the first attempt.
I'm going to close this for now. If the behavior persists as FF approaches a release candidate it probably makes sense to check with the jsbeautify folks.
from dustjs.
Thank you for taking issue seriously!
By the way I believe the Dust is very advanced template engine and you have a real chance to make it number one template engine.
I'm going to promote your pretty creation, as much as I can :)
from dustjs.
Related Issues (20)
- Helper params are not processed correctly HOT 4
- img tags with dust variable in src attribute does not work in firefox browser HOT 2
- Testing `foo instanceof Context` is fugly HOT 1
- Global objects not path-able
- Add tests for DustJS to JSPerf
- feature request: Is it possible to change the delimiters? HOT 1
- Global alias or how to pull a block
- Abandonware? HOT 1
- require.paths not supported for Node.js 0.6.13 HOT 1
- templates can't process objects whose names contain non-alphanums HOT 9
- Question: possible? Escaping whole areas of html
- Plural/singular HOT 2
- The callback interface is not always suitable HOT 7
- Shootout page does not work. HOT 1
- Consider redesigning docs in a single column HOT 2
- fail to make parser
- Is this project dead? HOT 2
- Allow colons in keys HOT 1
- There is no way making output HTML pretty
- No such module: evals HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dustjs.