Giter VIP home page Giter VIP logo

Comments (6)

tmpvar avatar tmpvar commented on August 15, 2024

The closest thing that I've seen is http://blog.envylabs.com/tag/jsdom/ -- I'm not a rubyist, so I'm not sure how helpful that is.

maybe you should ask this on the jsdom mailing list

-- Elijah

from weld.

heapwolf avatar heapwolf commented on August 15, 2024

There is no straight forward answer to this. so im going to close it, however keep this conversation going. You may consider creating a simple nodejs server that plays the roll of a template/content server.

from weld.

tmpvar avatar tmpvar commented on August 15, 2024

@hij1nx, I agree.. this isn't really a weld issue per se.

from weld.

amiel avatar amiel commented on August 15, 2024

Uh yeah, sorry. I didn't mean to imply that this was an issue the weld team needed to work on. I just wanted a place to start this discussion.

Thanks for the pointers. I did see the envylabs article and found that ExecJS.compile_async didn't work at all. (I continually got a JavascriptError on code that worked just fine with ExecJS.compile.

I will also check the jsdom mailing list.

If anyone has anymore thoughts, post 'em here. I'm going to start work on this here: http://github.com/amiel/weld-rails

from weld.

heapwolf avatar heapwolf commented on August 15, 2024

If you get this working id love to hear about it :) it would make a great blog post!

from weld.

amiel avatar amiel commented on August 15, 2024

I'll let you know.

FWIW rendering does work in my "prototype app": https://github.com/amiel/weld-rails-prototype.
I think what I'll do if I don't get any specific help from the jsdom mailing list or from therubyracer folks is expect the config hash to be written in javascript and come up with a clever way to include it.

from weld.

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.