$$.setTimeout(method(:tick).to_proc, 2000)
http://opalrb.com/try/?code:def%20tick%0A%20%20puts%20%22yo%22%0Aend%0A%0A%24%24.setTimeout(method(%3Atick).to_proc%2C%20500)
opal/opal
gitter chat history into one text file, if you want search something , please visit https://zw963.github.io and download chat file.
@elia Hi Elia,
I'm trying to work with D3 and Opal.
I found your article (written in 2014): https://dev.mikamai.com/2014/06/04/learning-d3js-basics-with-ruby-and-opal/
And I also found a library: https://github.com/taw/opal-d3
What is your opinion and your advice in order to get Opal and D3 working well ? Tx.
rake http
, following is error message:Building http
running
module.js:471
throw err;
^
Error: Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at singleton_class_alloc.$$node_require [as $node_require] (/home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:22699:63)
at /home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:23016:26
at Opal.modules.nodejs/dir (/home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:23057:5)
at Object.Opal.load (/home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:2192:7)
at Object_alloc.Opal.require [as $require] (/home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:2216:17)
at Opal.modules.nodejs (/home/public/Dropbox/others/Project/opal/0.11/opal-node/http.js:23214:8)