{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1880","repository_url":"https://api.github.com/repos/angular-ui/angular-google-maps","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1880/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1880/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1880/events","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1880","id":160560525,"number":1880,"title":"Control randomization of callback function name in script loader with a new option","user":{"login":"igorferst","id":4896788,"avatar_url":"https://avatars.githubusercontent.com/u/4896788?v=3","gravatar_id":"","url":"https://api.github.com/users/igorferst","html_url":"https://github.com/igorferst","followers_url":"https://api.github.com/users/igorferst/followers","following_url":"https://api.github.com/users/igorferst/following{/other_user}","gists_url":"https://api.github.com/users/igorferst/gists{/gist_id}","starred_url":"https://api.github.com/users/igorferst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorferst/subscriptions","organizations_url":"https://api.github.com/users/igorferst/orgs","repos_url":"https://api.github.com/users/igorferst/repos","events_url":"https://api.github.com/users/igorferst/events{/privacy}","received_events_url":"https://api.github.com/users/igorferst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-16T01:44:36Z","updated_at":"2016-09-04T00:44:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/pulls/1880","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1880","diff_url":"https://github.com/angular-ui/angular-google-maps/pull/1880.diff","patch_url":"https://github.com/angular-ui/angular-google-maps/pull/1880.patch"},"body":"Motivation: I have a single page app that uses angular-google-maps and I attempted to use the Application Cache to cache some assets. I could not cache the main Google Maps script because the script loader randomizes the callback references in the call to fetch this script, i.e. the full URL for the fetched script changes every time. \r\n\r\nThis PR adds an option that determines whether or not to randomize the name of the callback. It is true by default. When it is false, the full URL for the Google Maps script is static and can be cached. "},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/244577785","html_url":"https://github.com/angular-ui/angular-google-maps/pull/1880#issuecomment-244577785","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1880","id":244577785,"user":{"login":"igorferst","id":4896788,"avatar_url":"https://avatars.githubusercontent.com/u/4896788?v=3","gravatar_id":"","url":"https://api.github.com/users/igorferst","html_url":"https://github.com/igorferst","followers_url":"https://api.github.com/users/igorferst/followers","following_url":"https://api.github.com/users/igorferst/following{/other_user}","gists_url":"https://api.github.com/users/igorferst/gists{/gist_id}","starred_url":"https://api.github.com/users/igorferst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorferst/subscriptions","organizations_url":"https://api.github.com/users/igorferst/orgs","repos_url":"https://api.github.com/users/igorferst/repos","events_url":"https://api.github.com/users/igorferst/events{/privacy}","received_events_url":"https://api.github.com/users/igorferst/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T00:44:26Z","updated_at":"2016-09-04T00:44:26Z","body":"Sorry for the delay here. I agree with Chronial, that's a much better solution. Given that this PR fails to follow some key guidelines to begin with, I'm going to close it out and create a new one implementing Chronial's suggested solution. "}}
{"actor":{"display_login":"igorferst"}}