{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/comments/40826428","id":40826428,"diff_hunk":"@@ -30,6 +30,16 @@\n             // Wiki-specific settings will be placed here\n             wiki: {\n                 autosuggestTitleUrl: '{{ url('wiki.autosuggest_documents') }}'\n+            },\n+            // Just-in-time asset paths\n+            assets: {\n+                css: {\n+                    \"wiki-compat-tables\": {{ css_bundle_urls(\"wiki-compat-tables\") }}\n+                },\n+                js: {\n+                    \"syntax-prism\": {{ js_bundle_urls(\"syntax-prism\") }},\n+                    \"wiki-compat-tables\": {{ js_bundle_urls(\"wiki-compat-tables\") }}\n+                }","path":"templates/includes/config.html","position":13,"original_position":13,"commit_id":"29bb36bc08e41e7a706e191121ef27de62a267e6","original_commit_id":"29bb36bc08e41e7a706e191121ef27de62a267e6","user":{"login":"openjck","id":933396,"avatar_url":"https://avatars.githubusercontent.com/u/933396?v=3","gravatar_id":"","url":"https://api.github.com/users/openjck","html_url":"https://github.com/openjck","followers_url":"https://api.github.com/users/openjck/followers","following_url":"https://api.github.com/users/openjck/following{/other_user}","gists_url":"https://api.github.com/users/openjck/gists{/gist_id}","starred_url":"https://api.github.com/users/openjck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openjck/subscriptions","organizations_url":"https://api.github.com/users/openjck/orgs","repos_url":"https://api.github.com/users/openjck/repos","events_url":"https://api.github.com/users/openjck/events{/privacy}","received_events_url":"https://api.github.com/users/openjck/received_events","type":"User","site_admin":false},"body":"Just a small nitpick. We don't have strict rules about JavaScript coding conventions, but tend to use single quotes around strings.","created_at":"2015-09-30T17:48:26Z","updated_at":"2015-09-30T17:48:26Z","html_url":"https://github.com/mozilla/kuma/pull/3530#discussion_r40826428","pull_request_url":"https://api.github.com/repos/mozilla/kuma/pulls/3530","_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments/40826428"},"html":{"href":"https://github.com/mozilla/kuma/pull/3530#discussion_r40826428"},"pull_request":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3530"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/3530","id":46337318,"html_url":"https://github.com/mozilla/kuma/pull/3530","diff_url":"https://github.com/mozilla/kuma/pull/3530.diff","patch_url":"https://github.com/mozilla/kuma/pull/3530.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/3530","number":3530,"state":"open","locked":false,"title":"bug 1197444 - Load just-in-time assets in development environment","user":{"login":"jwhitlock","id":286017,"avatar_url":"https://avatars.githubusercontent.com/u/286017?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhitlock","html_url":"https://github.com/jwhitlock","followers_url":"https://api.github.com/users/jwhitlock/followers","following_url":"https://api.github.com/users/jwhitlock/following{/other_user}","gists_url":"https://api.github.com/users/jwhitlock/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhitlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhitlock/subscriptions","organizations_url":"https://api.github.com/users/jwhitlock/orgs","repos_url":"https://api.github.com/users/jwhitlock/repos","events_url":"https://api.github.com/users/jwhitlock/events{/privacy}","received_events_url":"https://api.github.com/users/jwhitlock/received_events","type":"User","site_admin":false},"body":"Add jingo helpers to get paths to bundled CSS and JS assets, and add to the in-page global mdn.assets. Use these paths rather than hard-coded values when dynamically loading JS and CSS.\r\n\r\nIn a development environment, style-prism.js is split into 5 files, and the first one has to be fully loaded before the rest will load correctly.","created_at":"2015-09-29T21:54:34Z","updated_at":"2015-09-30T17:48:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ef63b9ea3d2f564660275455d61eae0ce3b5604","assignee":{"login":"openjck","id":933396,"avatar_url":"https://avatars.githubusercontent.com/u/933396?v=3","gravatar_id":"","url":"https://api.github.com/users/openjck","html_url":"https://github.com/openjck","followers_url":"https://api.github.com/users/openjck/followers","following_url":"https://api.github.com/users/openjck/following{/other_user}","gists_url":"https://api.github.com/users/openjck/gists{/gist_id}","starred_url":"https://api.github.com/users/openjck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openjck/subscriptions","organizations_url":"https://api.github.com/users/openjck/orgs","repos_url":"https://api.github.com/users/openjck/repos","events_url":"https://api.github.com/users/openjck/events{/privacy}","received_events_url":"https://api.github.com/users/openjck/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/3530/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/3530/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/3530/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/29bb36bc08e41e7a706e191121ef27de62a267e6","head":{"label":"mozilla:just-in-time-assets-1197444","ref":"just-in-time-assets-1197444","sha":"29bb36bc08e41e7a706e191121ef27de62a267e6","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The Django project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","created_at":"2011-02-10T21:48:06Z","updated_at":"2015-09-30T17:16:53Z","pushed_at":"2015-09-30T17:26:41Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":161270,"stargazers_count":645,"watchers_count":645,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":422,"mirror_url":null,"open_issues_count":16,"forks":422,"open_issues":16,"watchers":645,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"97c12a93a2453288cee75ac2534e90f897eb3310","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The Django project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","created_at":"2011-02-10T21:48:06Z","updated_at":"2015-09-30T17:16:53Z","pushed_at":"2015-09-30T17:26:41Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":161270,"stargazers_count":645,"watchers_count":645,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":422,"mirror_url":null,"open_issues_count":16,"forks":422,"open_issues":16,"watchers":645,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3530"},"html":{"href":"https://github.com/mozilla/kuma/pull/3530"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/3530"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/3530/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3530/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/3530/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/29bb36bc08e41e7a706e191121ef27de62a267e6"}}}}