{"action":"created","issue":{"url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/40","labels_url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/40/comments","events_url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/40/events","html_url":"https://github.com/danzel/Leaflet.utfgrid/issues/40","id":102445009,"number":40,"title":"initialize function issue","user":{"login":"gete76","id":760815,"avatar_url":"https://avatars.githubusercontent.com/u/760815?v=3","gravatar_id":"","url":"https://api.github.com/users/gete76","html_url":"https://github.com/gete76","followers_url":"https://api.github.com/users/gete76/followers","following_url":"https://api.github.com/users/gete76/following{/other_user}","gists_url":"https://api.github.com/users/gete76/gists{/gist_id}","starred_url":"https://api.github.com/users/gete76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gete76/subscriptions","organizations_url":"https://api.github.com/users/gete76/orgs","repos_url":"https://api.github.com/users/gete76/repos","events_url":"https://api.github.com/users/gete76/events{/privacy}","received_events_url":"https://api.github.com/users/gete76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-21T19:09:09Z","updated_at":"2015-08-23T21:22:46Z","closed_at":null,"body":"Not sure if this is really a bug but more to do with intention. I noticed the new changes now load the Utfgrid with 'this' as the parameter to be passed for the window parameter. Passing 'this' assumes that in the context of loading this file that 'this' is the window object or some other object with global functions. I now get a window.setTimeout is not function because I load Utfgrid into a browserify module and 'this' is definitely not the window object in its context.  What's the purpose of passing 'this' and not 'window'  in the wrapper function? "},"comment":{"url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/comments/133939047","html_url":"https://github.com/danzel/Leaflet.utfgrid/issues/40#issuecomment-133939047","issue_url":"https://api.github.com/repos/danzel/Leaflet.utfgrid/issues/40","id":133939047,"user":{"login":"danzel","id":393086,"avatar_url":"https://avatars.githubusercontent.com/u/393086?v=3","gravatar_id":"","url":"https://api.github.com/users/danzel","html_url":"https://github.com/danzel","followers_url":"https://api.github.com/users/danzel/followers","following_url":"https://api.github.com/users/danzel/following{/other_user}","gists_url":"https://api.github.com/users/danzel/gists{/gist_id}","starred_url":"https://api.github.com/users/danzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danzel/subscriptions","organizations_url":"https://api.github.com/users/danzel/orgs","repos_url":"https://api.github.com/users/danzel/repos","events_url":"https://api.github.com/users/danzel/events{/privacy}","received_events_url":"https://api.github.com/users/danzel/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T21:22:46Z","updated_at":"2015-08-23T21:22:46Z","body":"Yeah please do"}}