execjs
execjs copied to clipboard
How to call an external JS file from a remote location and execute methods of that JS file within a controller?
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 this can be done?