Skip to content
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

Just wanted to say THANKS #1

Open
chewmanfoo opened this issue Mar 26, 2015 · 4 comments
Open

Just wanted to say THANKS #1

chewmanfoo opened this issue Mar 26, 2015 · 4 comments

Comments

@chewmanfoo
Copy link

This simple app taught me how to include third party javascripts into rails apps in a very clear clean way - I did not understand it before, and you helped me immensely! YOU'RE MY HERO!!!

@qwwqwwq
Copy link
Owner

qwwqwwq commented Mar 30, 2015

Woohoo! Glad you found it helpful! Thanks for letting me know :)

@mrbartc
Copy link

mrbartc commented Jun 25, 2016

I also would like to join with some THANKS and GREAT HELP. Found it very useful to start my D3js endeavours.
I have one question though . If I clone it and run, it works great, but when I try to create a new rails app and follow the steps it doesn't load the graph.js file with the actual d3 graph code. If I paste the code into console it works. What do I need to do to include this js in my app? I'm obviously missing something. Any help with this would be greatly appreciated. I posted a question on stack overflow earlier on today about this.

@qwwqwwq
Copy link
Owner

qwwqwwq commented Jun 25, 2016

Thanks I'm stoked that you found it helpful. If you push your project to github I'd be happy to take a look, sounds like the d3 gem you mention is probably not playing well with what this project does which was to just include d3 as a static asset..

@mrbartc
Copy link

mrbartc commented Jun 25, 2016

Many Thanks for looking into this. Really appreciated. I pushed what I'm trying to get to work here. Tried all sorts of things but can't figure out what I'm doing wrong. The versions in Gemfile are a bit different but not too far from your example.

In your example I can see in the Resources under index/graphXxxxxx... file with the d3 graph code and everything works OK, in mine however the same file has an empty function, as if it wasn't loaded

(function() {


}).call(this); 

d3 library from the d3-rails loads ok, from what I can tell.

Thanks again for looking at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants