{"action":"created","issue":{"url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/204","repository_url":"https://api.github.com/repos/spohlenz/tinymce-rails","labels_url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/204/comments","events_url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/204/events","html_url":"https://github.com/spohlenz/tinymce-rails/issues/204","id":192474366,"number":204,"title":"file_browser_callback should be function, being placed as string","user":{"login":"bradlis7","id":7062604,"avatar_url":"https://avatars.githubusercontent.com/u/7062604?v=3","gravatar_id":"","url":"https://api.github.com/users/bradlis7","html_url":"https://github.com/bradlis7","followers_url":"https://api.github.com/users/bradlis7/followers","following_url":"https://api.github.com/users/bradlis7/following{/other_user}","gists_url":"https://api.github.com/users/bradlis7/gists{/gist_id}","starred_url":"https://api.github.com/users/bradlis7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradlis7/subscriptions","organizations_url":"https://api.github.com/users/bradlis7/orgs","repos_url":"https://api.github.com/users/bradlis7/repos","events_url":"https://api.github.com/users/bradlis7/events{/privacy}","received_events_url":"https://api.github.com/users/bradlis7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T04:43:12Z","updated_at":"2016-11-30T04:46:16Z","closed_at":null,"body":"I'm not sure how to get this to work. I tried `<%= tinymce file_browser_callback: :fileBrowser %>` and `<%= tinymce file_browser_callback: 'fileBrowser' %>`, but they are both outputting JS strings, but this is a callback function `fileBrowser() {...}` that exists elsewhere in javascript. Is there a secret to this, or would this have to be added as a special case configuration?"},"comment":{"url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/comments/263782042","html_url":"https://github.com/spohlenz/tinymce-rails/issues/204#issuecomment-263782042","issue_url":"https://api.github.com/repos/spohlenz/tinymce-rails/issues/204","id":263782042,"user":{"login":"bradlis7","id":7062604,"avatar_url":"https://avatars.githubusercontent.com/u/7062604?v=3","gravatar_id":"","url":"https://api.github.com/users/bradlis7","html_url":"https://github.com/bradlis7","followers_url":"https://api.github.com/users/bradlis7/followers","following_url":"https://api.github.com/users/bradlis7/following{/other_user}","gists_url":"https://api.github.com/users/bradlis7/gists{/gist_id}","starred_url":"https://api.github.com/users/bradlis7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradlis7/subscriptions","organizations_url":"https://api.github.com/users/bradlis7/orgs","repos_url":"https://api.github.com/users/bradlis7/repos","events_url":"https://api.github.com/users/bradlis7/events{/privacy}","received_events_url":"https://api.github.com/users/bradlis7/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T04:46:16Z","updated_at":"2016-11-30T04:46:16Z","body":"Maybe my answer is #62, though it's a bit of a hack, it might work.\r\n\r\n<%= tinymce file_browser_callback: 'function() {return fileBrowser;}' %>"}}
{"actor":{"display_login":"bradlis7"}}