{"action":"created","comment":{"url":"https://api.github.com/repos/Tahi-project/tahi/pulls/comments/24201895","id":24201895,"diff_hunk":"@@ -3,15 +3,13 @@\n `import LazyLoader from 'tahi/mixins/routes/lazy-loader'`\n `import RESTless from 'tahi/services/rest-less'`\n `import Heartbeat from 'tahi/services/heartbeat'`\n+`import initializeVisualEditor from 'ember-cli-visualeditor/initializers/initialize_visual_editor'`\n \n PaperEditRoute = AuthorizedRoute.extend\n   heartbeatService: null\n \n   beforeModel: ->\n-    visualEditorScript = '/visualEditor.min.js'\n-    unless LazyLoader.loaded[visualEditorScript]\n-      $.getScript(visualEditorScript).then ->\n-        LazyLoader.loaded[visualEditorScript] = true\n+    initializeVisualEditor(\"/assets/tahi\");","path":"client/app/pods/paper/edit/route.coffee","position":14,"original_position":14,"commit_id":"7a5fafa71e87fa293046fe6626b08c427848067d","original_commit_id":"7a5fafa71e87fa293046fe6626b08c427848067d","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line contains a trailing semicolon","created_at":"2015-02-05T21:36:30Z","updated_at":"2015-02-05T21:36:30Z","html_url":"https://github.com/Tahi-project/tahi/pull/816#discussion_r24201895","pull_request_url":"https://api.github.com/repos/Tahi-project/tahi/pulls/816","_links":{"self":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/comments/24201895"},"html":{"href":"https://github.com/Tahi-project/tahi/pull/816#discussion_r24201895"},"pull_request":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/816"}}},"pull_request":{"url":"https://api.github.com/repos/Tahi-project/tahi/pulls/816","id":28763594,"html_url":"https://github.com/Tahi-project/tahi/pull/816","diff_url":"https://github.com/Tahi-project/tahi/pull/816.diff","patch_url":"https://github.com/Tahi-project/tahi/pull/816.patch","issue_url":"https://api.github.com/repos/Tahi-project/tahi/issues/816","number":816,"state":"open","locked":false,"title":"Ember cli visualeditor","user":{"login":"oliver----","id":284099,"avatar_url":"https://avatars.githubusercontent.com/u/284099?v=3","gravatar_id":"","url":"https://api.github.com/users/oliver----","html_url":"https://github.com/oliver----","followers_url":"https://api.github.com/users/oliver----/followers","following_url":"https://api.github.com/users/oliver----/following{/other_user}","gists_url":"https://api.github.com/users/oliver----/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver----/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver----/subscriptions","organizations_url":"https://api.github.com/users/oliver----/orgs","repos_url":"https://api.github.com/users/oliver----/repos","events_url":"https://api.github.com/users/oliver----/events{/privacy}","received_events_url":"https://api.github.com/users/oliver----/received_events","type":"User","site_admin":false},"body":"Replaced VisualEditor integration with ember-cli addon (https://github.com/substance/ember-cli-visualeditor.git).\r\n\r\n- reduced configuration in Tahi for VE assets\r\n- introduced a custom, hackable toolbar (see paper/edit/template.hbs)\r\n- VE is integrated on a much lower, modular level as before (e.g., model view separation)\r\n- did not port manuscript placeholders as they will be tackled together with the work on manuscript structure","created_at":"2015-02-05T21:36:23Z","updated_at":"2015-02-05T21:36:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1a9d28ffdff85702c0b939ce805b80345c53ae5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tahi-project/tahi/pulls/816/commits","review_comments_url":"https://api.github.com/repos/Tahi-project/tahi/pulls/816/comments","review_comment_url":"https://api.github.com/repos/Tahi-project/tahi/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Tahi-project/tahi/issues/816/comments","statuses_url":"https://api.github.com/repos/Tahi-project/tahi/statuses/7a5fafa71e87fa293046fe6626b08c427848067d","head":{"label":"substance:ember-cli-visualeditor","ref":"ember-cli-visualeditor","sha":"7a5fafa71e87fa293046fe6626b08c427848067d","user":{"login":"substance","id":1441591,"avatar_url":"https://avatars.githubusercontent.com/u/1441591?v=3","gravatar_id":"","url":"https://api.github.com/users/substance","html_url":"https://github.com/substance","followers_url":"https://api.github.com/users/substance/followers","following_url":"https://api.github.com/users/substance/following{/other_user}","gists_url":"https://api.github.com/users/substance/gists{/gist_id}","starred_url":"https://api.github.com/users/substance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substance/subscriptions","organizations_url":"https://api.github.com/users/substance/orgs","repos_url":"https://api.github.com/users/substance/repos","events_url":"https://api.github.com/users/substance/events{/privacy}","received_events_url":"https://api.github.com/users/substance/received_events","type":"Organization","site_admin":false},"repo":{"id":28253732,"name":"tahi","full_name":"substance/tahi","owner":{"login":"substance","id":1441591,"avatar_url":"https://avatars.githubusercontent.com/u/1441591?v=3","gravatar_id":"","url":"https://api.github.com/users/substance","html_url":"https://github.com/substance","followers_url":"https://api.github.com/users/substance/followers","following_url":"https://api.github.com/users/substance/following{/other_user}","gists_url":"https://api.github.com/users/substance/gists{/gist_id}","starred_url":"https://api.github.com/users/substance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/substance/subscriptions","organizations_url":"https://api.github.com/users/substance/orgs","repos_url":"https://api.github.com/users/substance/repos","events_url":"https://api.github.com/users/substance/events{/privacy}","received_events_url":"https://api.github.com/users/substance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/substance/tahi","description":"Modern workflow platform","fork":true,"url":"https://api.github.com/repos/substance/tahi","forks_url":"https://api.github.com/repos/substance/tahi/forks","keys_url":"https://api.github.com/repos/substance/tahi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/substance/tahi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/substance/tahi/teams","hooks_url":"https://api.github.com/repos/substance/tahi/hooks","issue_events_url":"https://api.github.com/repos/substance/tahi/issues/events{/number}","events_url":"https://api.github.com/repos/substance/tahi/events","assignees_url":"https://api.github.com/repos/substance/tahi/assignees{/user}","branches_url":"https://api.github.com/repos/substance/tahi/branches{/branch}","tags_url":"https://api.github.com/repos/substance/tahi/tags","blobs_url":"https://api.github.com/repos/substance/tahi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/substance/tahi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/substance/tahi/git/refs{/sha}","trees_url":"https://api.github.com/repos/substance/tahi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/substance/tahi/statuses/{sha}","languages_url":"https://api.github.com/repos/substance/tahi/languages","stargazers_url":"https://api.github.com/repos/substance/tahi/stargazers","contributors_url":"https://api.github.com/repos/substance/tahi/contributors","subscribers_url":"https://api.github.com/repos/substance/tahi/subscribers","subscription_url":"https://api.github.com/repos/substance/tahi/subscription","commits_url":"https://api.github.com/repos/substance/tahi/commits{/sha}","git_commits_url":"https://api.github.com/repos/substance/tahi/git/commits{/sha}","comments_url":"https://api.github.com/repos/substance/tahi/comments{/number}","issue_comment_url":"https://api.github.com/repos/substance/tahi/issues/comments/{number}","contents_url":"https://api.github.com/repos/substance/tahi/contents/{+path}","compare_url":"https://api.github.com/repos/substance/tahi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/substance/tahi/merges","archive_url":"https://api.github.com/repos/substance/tahi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/substance/tahi/downloads","issues_url":"https://api.github.com/repos/substance/tahi/issues{/number}","pulls_url":"https://api.github.com/repos/substance/tahi/pulls{/number}","milestones_url":"https://api.github.com/repos/substance/tahi/milestones{/number}","notifications_url":"https://api.github.com/repos/substance/tahi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/substance/tahi/labels{/name}","releases_url":"https://api.github.com/repos/substance/tahi/releases{/id}","created_at":"2014-12-20T02:05:59Z","updated_at":"2015-02-03T20:49:08Z","pushed_at":"2015-02-05T21:25:45Z","git_url":"git://github.com/substance/tahi.git","ssh_url":"git@github.com:substance/tahi.git","clone_url":"https://github.com/substance/tahi.git","svn_url":"https://github.com/substance/tahi","homepage":"","size":123792,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Tahi-project:master","ref":"master","sha":"03b46f27ea8b92dcca02f4ec9f80e5df8efdaf9e","user":{"login":"Tahi-project","id":5808884,"avatar_url":"https://avatars.githubusercontent.com/u/5808884?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahi-project","html_url":"https://github.com/Tahi-project","followers_url":"https://api.github.com/users/Tahi-project/followers","following_url":"https://api.github.com/users/Tahi-project/following{/other_user}","gists_url":"https://api.github.com/users/Tahi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahi-project/subscriptions","organizations_url":"https://api.github.com/users/Tahi-project/orgs","repos_url":"https://api.github.com/users/Tahi-project/repos","events_url":"https://api.github.com/users/Tahi-project/events{/privacy}","received_events_url":"https://api.github.com/users/Tahi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":13939437,"name":"tahi","full_name":"Tahi-project/tahi","owner":{"login":"Tahi-project","id":5808884,"avatar_url":"https://avatars.githubusercontent.com/u/5808884?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahi-project","html_url":"https://github.com/Tahi-project","followers_url":"https://api.github.com/users/Tahi-project/followers","following_url":"https://api.github.com/users/Tahi-project/following{/other_user}","gists_url":"https://api.github.com/users/Tahi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahi-project/subscriptions","organizations_url":"https://api.github.com/users/Tahi-project/orgs","repos_url":"https://api.github.com/users/Tahi-project/repos","events_url":"https://api.github.com/users/Tahi-project/events{/privacy}","received_events_url":"https://api.github.com/users/Tahi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tahi-project/tahi","description":"Modern workflow platform","fork":false,"url":"https://api.github.com/repos/Tahi-project/tahi","forks_url":"https://api.github.com/repos/Tahi-project/tahi/forks","keys_url":"https://api.github.com/repos/Tahi-project/tahi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tahi-project/tahi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tahi-project/tahi/teams","hooks_url":"https://api.github.com/repos/Tahi-project/tahi/hooks","issue_events_url":"https://api.github.com/repos/Tahi-project/tahi/issues/events{/number}","events_url":"https://api.github.com/repos/Tahi-project/tahi/events","assignees_url":"https://api.github.com/repos/Tahi-project/tahi/assignees{/user}","branches_url":"https://api.github.com/repos/Tahi-project/tahi/branches{/branch}","tags_url":"https://api.github.com/repos/Tahi-project/tahi/tags","blobs_url":"https://api.github.com/repos/Tahi-project/tahi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tahi-project/tahi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tahi-project/tahi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tahi-project/tahi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tahi-project/tahi/statuses/{sha}","languages_url":"https://api.github.com/repos/Tahi-project/tahi/languages","stargazers_url":"https://api.github.com/repos/Tahi-project/tahi/stargazers","contributors_url":"https://api.github.com/repos/Tahi-project/tahi/contributors","subscribers_url":"https://api.github.com/repos/Tahi-project/tahi/subscribers","subscription_url":"https://api.github.com/repos/Tahi-project/tahi/subscription","commits_url":"https://api.github.com/repos/Tahi-project/tahi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tahi-project/tahi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tahi-project/tahi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tahi-project/tahi/issues/comments/{number}","contents_url":"https://api.github.com/repos/Tahi-project/tahi/contents/{+path}","compare_url":"https://api.github.com/repos/Tahi-project/tahi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tahi-project/tahi/merges","archive_url":"https://api.github.com/repos/Tahi-project/tahi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tahi-project/tahi/downloads","issues_url":"https://api.github.com/repos/Tahi-project/tahi/issues{/number}","pulls_url":"https://api.github.com/repos/Tahi-project/tahi/pulls{/number}","milestones_url":"https://api.github.com/repos/Tahi-project/tahi/milestones{/number}","notifications_url":"https://api.github.com/repos/Tahi-project/tahi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tahi-project/tahi/labels{/name}","releases_url":"https://api.github.com/repos/Tahi-project/tahi/releases{/id}","created_at":"2013-10-28T21:42:53Z","updated_at":"2015-02-05T21:09:00Z","pushed_at":"2015-02-05T21:11:08Z","git_url":"git://github.com/Tahi-project/tahi.git","ssh_url":"git@github.com:Tahi-project/tahi.git","clone_url":"https://github.com/Tahi-project/tahi.git","svn_url":"https://github.com/Tahi-project/tahi","homepage":"","size":144277,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/816"},"html":{"href":"https://github.com/Tahi-project/tahi/pull/816"},"issue":{"href":"https://api.github.com/repos/Tahi-project/tahi/issues/816"},"comments":{"href":"https://api.github.com/repos/Tahi-project/tahi/issues/816/comments"},"review_comments":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/816/comments"},"review_comment":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Tahi-project/tahi/pulls/816/commits"},"statuses":{"href":"https://api.github.com/repos/Tahi-project/tahi/statuses/7a5fafa71e87fa293046fe6626b08c427848067d"}}}}