Coder Social home page Coder Social logo

Comments (6)

akdubya avatar akdubya commented on August 23, 2024

It's working for me on FF, Chrome & Safari. What's your browser & version?

from dustjs.

semanticprogrammer avatar semanticprogrammer commented on August 23, 2024

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.

akdubya avatar akdubya commented on August 23, 2024

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.

semanticprogrammer avatar semanticprogrammer commented on August 23, 2024

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.

akdubya avatar akdubya commented on August 23, 2024

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.

semanticprogrammer avatar semanticprogrammer commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.