{"action":"opened","issue":{"url":"https://api.github.com/repos/opal/opal/issues/1019","labels_url":"https://api.github.com/repos/opal/opal/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/1019/comments","events_url":"https://api.github.com/repos/opal/opal/issues/1019/events","html_url":"https://github.com/opal/opal/issues/1019","id":96530671,"number":1019,"title":"JS Library Integration","user":{"login":"ashes999","id":18432,"avatar_url":"https://avatars.githubusercontent.com/u/18432?v=3","gravatar_id":"","url":"https://api.github.com/users/ashes999","html_url":"https://github.com/ashes999","followers_url":"https://api.github.com/users/ashes999/followers","following_url":"https://api.github.com/users/ashes999/following{/other_user}","gists_url":"https://api.github.com/users/ashes999/gists{/gist_id}","starred_url":"https://api.github.com/users/ashes999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashes999/subscriptions","organizations_url":"https://api.github.com/users/ashes999/orgs","repos_url":"https://api.github.com/users/ashes999/repos","events_url":"https://api.github.com/users/ashes999/events{/privacy}","received_events_url":"https://api.github.com/users/ashes999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-22T10:26:57Z","updated_at":"2015-07-22T10:26:57Z","closed_at":null,"body":"Hi,\r\n\r\nOther than jQuery, which has its own `opal-jquery` gem, how do I go about integrating with other, pure Javascript libraries, with Opal?\r\n\r\nFor example, if I wanted to use CraftyJS, I want to call JS methods like `Crafty.c(...)` or `Crafty.e(...)`. It's not clear from the docs or the existing issues how I would go about doing that, or if I need to create wrappers or something else before this would work.\r\n\r\nIs there an example I can look at where someone does this, even with just a simple JS function or class?"}}