{"action":"opened","issue":{"url":"https://api.github.com/repos/alphagov/govuk_template/issues/216","repository_url":"https://api.github.com/repos/alphagov/govuk_template","labels_url":"https://api.github.com/repos/alphagov/govuk_template/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk_template/issues/216/comments","events_url":"https://api.github.com/repos/alphagov/govuk_template/issues/216/events","html_url":"https://github.com/alphagov/govuk_template/issues/216","id":156984729,"number":216,"title":"Remove debug webfont dependency","user":{"login":"duncanhall","id":1502359,"avatar_url":"https://avatars.githubusercontent.com/u/1502359?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanhall","html_url":"https://github.com/duncanhall","followers_url":"https://api.github.com/users/duncanhall/followers","following_url":"https://api.github.com/users/duncanhall/following{/other_user}","gists_url":"https://api.github.com/users/duncanhall/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanhall/subscriptions","organizations_url":"https://api.github.com/users/duncanhall/orgs","repos_url":"https://api.github.com/users/duncanhall/repos","events_url":"https://api.github.com/users/duncanhall/events{/privacy}","received_events_url":"https://api.github.com/users/duncanhall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T13:33:51Z","updated_at":"2016-05-26T13:33:51Z","closed_at":null,"body":"The main `govuk_template.html` file has a dependency on `vendor/goog/webfont-debug.js`. This dependency is bundled with the included assets.\r\n\r\nThis file seems to be an old debug version of the Google webfont loader. A search for its usage suggests alphagov and its derivatives are the only users: [Search for 'google \"webfont-debug.js\"'](https://www.google.co.uk/search?q=google%20%22webfont-debug.js%22&rct=j).\r\n\r\nWhile it currently serves it's purpose, there might be issues with using an old, debug version of the file. The [Google Web Font Loader project](https://github.com/typekit/webfontloader) suggests loading loading a production version using a CDN such as [googleapis.com](https://ajax.googleapis.com/ajax/libs/webfont/1.5.10/webfont.js), [jsDelivr](http://www.jsdelivr.com/projects/webfontloader) or [CDNJS](https://cdnjs.com/libraries/webfont). Alternatively, one of these newere, compressed versions could be downloaded and replace the current bundled version."}}
{"actor":{"display_login":"duncanhall"}}