{"action":"created","issue":{"url":"https://api.github.com/repos/ctangel/RevealEditor/issues/1","repository_url":"https://api.github.com/repos/ctangel/RevealEditor","labels_url":"https://api.github.com/repos/ctangel/RevealEditor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ctangel/RevealEditor/issues/1/comments","events_url":"https://api.github.com/repos/ctangel/RevealEditor/issues/1/events","html_url":"https://github.com/ctangel/RevealEditor/issues/1","id":194649439,"number":1,"title":"Ace not loading ","user":{"login":"titaniumbones","id":364340,"avatar_url":"https://avatars.githubusercontent.com/u/364340?v=3","gravatar_id":"","url":"https://api.github.com/users/titaniumbones","html_url":"https://github.com/titaniumbones","followers_url":"https://api.github.com/users/titaniumbones/followers","following_url":"https://api.github.com/users/titaniumbones/following{/other_user}","gists_url":"https://api.github.com/users/titaniumbones/gists{/gist_id}","starred_url":"https://api.github.com/users/titaniumbones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titaniumbones/subscriptions","organizations_url":"https://api.github.com/users/titaniumbones/orgs","repos_url":"https://api.github.com/users/titaniumbones/repos","events_url":"https://api.github.com/users/titaniumbones/events{/privacy}","received_events_url":"https://api.github.com/users/titaniumbones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-09T17:14:37Z","updated_at":"2016-12-10T20:42:33Z","closed_at":null,"body":"Hi, Im just trying RevealEditor out and wondered if you are sitll using it with currnet versionso f reveal.  Also wondering if you have slightly more detailed instructions for sdetting up the environment.  Here's what I've done:\r\n- installed RevealEditor in the `plugins` folder of my reveal.js installation\r\n- installed `ace-builds` in the RevealEditor folder\r\n- added the button markup and css to the top of the `<body>`\r\n- added this code to the bottom of `<body>` just before the closing tag:\r\n```html\r\n\r\n<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js\"></script> \r\n<script src=\"/home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/ace.js\"></script>\r\n<link rel=\"stylesheet\" href=\"/home/matt/src/reveal.js/plugin/RevealEditor/style.css\">\r\n<script src=\"/home/matt/src/reveal.js/plugin/RevealEditor/revealeditor.js\"></script>\r\n<script>\r\n  $(\".btn\").RevealEditor();\r\n</script>\r\n```\r\n\r\nAt present ace is not loading fully and as a result the code editor doesn't really load. Here are the errors:\r\n```javascript\r\n$(\".btn\").RevealEditor();\r\nSecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-html.js\"  (unknown)\r\nSecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-css.js\"  (unknown)\r\nSecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-javascript.js\"  (unknown)\r\nUse of getPreventDefault() is deprecated.  Use defaultPrevented instead.  jquery.min.js:5:12223\r\nAutomatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message ace.js:3532:9\r\n```\r\nI'd love to hear your thoughts. Thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/ctangel/RevealEditor/issues/comments/266236511","html_url":"https://github.com/ctangel/RevealEditor/issues/1#issuecomment-266236511","issue_url":"https://api.github.com/repos/ctangel/RevealEditor/issues/1","id":266236511,"user":{"login":"ctangel","id":5135644,"avatar_url":"https://avatars.githubusercontent.com/u/5135644?v=3","gravatar_id":"","url":"https://api.github.com/users/ctangel","html_url":"https://github.com/ctangel","followers_url":"https://api.github.com/users/ctangel/followers","following_url":"https://api.github.com/users/ctangel/following{/other_user}","gists_url":"https://api.github.com/users/ctangel/gists{/gist_id}","starred_url":"https://api.github.com/users/ctangel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctangel/subscriptions","organizations_url":"https://api.github.com/users/ctangel/orgs","repos_url":"https://api.github.com/users/ctangel/repos","events_url":"https://api.github.com/users/ctangel/events{/privacy}","received_events_url":"https://api.github.com/users/ctangel/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T20:42:33Z","updated_at":"2016-12-10T20:42:33Z","body":"Hi Matt!\n\nRevealEditor works with the most recent version of Ace Editor.\n\nI tried to replicate your issue, but I was not able too.\n\nI would suggest re-downloading ace-builds. The src-noconflict folder should\nhave worker-css.js, worker-html.js, and worker-javascript.js.\n\nIf this does not help, then the problem lies with the fact that you're\ntrying to locally run worker files and your broswer has lost the directory\npath to the files. You may need to supply the path to the worker files.\n\nIn this case, trying editing the Ace Editor's properties to reflect the\nfollowing code.\n\nace.config.set(\"modePath\", \"/path/to/src\")\nace.config.set(\"workerPath\", \"/path/to/src\")\nace.config.set(\"themePath\", \"/path/to/src\")\n\nI hope this helps!\n\nOn Fri, Dec 9, 2016 at 12:14 PM, Matt Price <notifications@github.com>\nwrote:\n\n> Hi, Im just trying RevealEditor out and wondered if you are sitll using it\n> with currnet versionso f reveal. Also wondering if you have slightly more\n> detailed instructions for sdetting up the environment. Here's what I've\n> done:\n>\n>    - installed RevealEditor in the plugins folder of my reveal.js\n>    installation\n>    - installed ace-builds in the RevealEditor folder\n>    - added the button markup and css to the top of the <body>\n>    - added this code to the bottom of <body> just before the closing tag:\n>\n> <script src=\"http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js\"></script>\n> <script src=\"/home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/ace.js\"></script>\n> <link rel=\"stylesheet\" href=\"/home/matt/src/reveal.js/plugin/RevealEditor/style.css\">\n> <script src=\"/home/matt/src/reveal.js/plugin/RevealEditor/revealeditor.js\"></script><script>  $(\".btn\").RevealEditor();</script>\n>\n> At present ace is not loading fully and as a result the code editor\n> doesn't really load. Here are the errors:\n>\n> $(\".btn\").RevealEditor();\n> SecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-html.js\"  (unknown)\n> SecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-css.js\"  (unknown)\n> SecurityError: Failed to load worker script at \"file:///home/matt/src/reveal.js/plugin/RevealEditor/ace-builds/src-noconflict/worker-javascript.js\"  (unknown)\n> Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.  jquery.min.js:5:12223\n> Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message ace.js:3532:9\n>\n> I'd love to hear your thoughts. Thanks!\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/ctangel/RevealEditor/issues/1>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AE5dHP1p_1uGWFmRpkKvEmZBVON_uucJks5rGYx9gaJpZM4LJKLz>\n> .\n>\n"}}
{"actor":{"display_login":"ctangel"}}