Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

Dynamically evaluate #45

Open
tmtk75 opened this issue Nov 25, 2015 · 1 comment
Open

Dynamically evaluate #45

tmtk75 opened this issue Nov 25, 2015 · 1 comment

Comments

@tmtk75
Copy link
Owner

tmtk75 commented Nov 25, 2015

http://jumly.tmtk.net/try.html#comment-2378037608

I have a question! Is there any way to execute(or init) jumly dynamically? I need to import jumly lib asynchronously. I've tried $('<script/>').attr('src', 'http://jumly.tmtk.net/public/j... kind of thing but it doesn't be executed well.

@tmtk75
Copy link
Owner Author

tmtk75 commented Nov 25, 2015

I think JUMLY.eval() works for the case.
Please take a look at http://jumly.tmtk.net/api.html#_JUMLY_eval

Also I put an example as a Gist, https://gist.github.com/tmtk75/326da8780971cd81b57d

Best,

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

No branches or pull requests

1 participant