execjs
execjs copied to clipboard
Run JavaScript code from Ruby
I want to call this file : https://cdn.jsdelivr.net/tappy/latest/mainfile and use some methods directly from Rails controller. Is it possible? If possible could someone post a sample code snippet of how...
When I try to precompile assets for production: bundle exec rake assets:precompile RAILS_ENV=production I get the following error: ``` ExecJS::ProgramError: RangeError: Maximum call stack size exceeded (in /myapp/app/assets/javascripts/application.js) ``` This...
2.3.0 :004 > context = ExecJS.compile(source) NoMethodError: undefined method `encode' for #< .... Hi guys I am using execjs 2.7.0 to compile a npm library. I am getting this error....
I'm just moving a previous issue from the old repo here. Is there a way of doing this using ExecJS > 1.4.0? ``` Using this in a js.coffee erb template...
 During asset compilation ExecJS chokes on some systems but not others. While the parse error provides a col and row, it doesn't provide the file where there error occurred.
I've been using ExecJS for compiling KaTeX for a while now (see repo https://github.com/drewsberry/jekyll-katex-block). After upgrading from 2.2.2 (where it worked perfectly), versions 2.3.0 and 2.4.0 cannot compile katex.js, giving...
See https://github.com/sstephenson/execjs/pull/180