I tried to have some examples for the dygraph library, but when I go to http://dygraphs.com/gallery/, there's nothing on the screen.
I work with Chrome, and in the javascript console, I see those messages:
dygraph-dev.js:48 Uncaught TypeError: Cannot read property 'replace' of null
synchronizer.js:35 Uncaught ReferenceError: Dygraph is not defined
textarea.js:122 Uncaught ReferenceError: Dygraph is not defined
/dygraph-combined.js.map:1 GET http://dygraphs.com/dygraph-combined.js.map 404 (Not Found)
Could you help me to get the gallery in order?
I removed the following snippet at end of the JavaScript file and it works now.
In Rails, I guess application.js tries to include that file owing to the syntax.