{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/sizzle/issues/352","labels_url":"https://api.github.com/repos/jquery/sizzle/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/jquery/sizzle/issues/352/comments","events_url":"https://api.github.com/repos/jquery/sizzle/issues/352/events","html_url":"https://github.com/jquery/sizzle/issues/352","id":102674180,"number":352,"title":"Self executing anonymous function","user":{"login":"andriytkachiv","id":9977880,"avatar_url":"https://avatars.githubusercontent.com/u/9977880?v=3","gravatar_id":"","url":"https://api.github.com/users/andriytkachiv","html_url":"https://github.com/andriytkachiv","followers_url":"https://api.github.com/users/andriytkachiv/followers","following_url":"https://api.github.com/users/andriytkachiv/following{/other_user}","gists_url":"https://api.github.com/users/andriytkachiv/gists{/gist_id}","starred_url":"https://api.github.com/users/andriytkachiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andriytkachiv/subscriptions","organizations_url":"https://api.github.com/users/andriytkachiv/orgs","repos_url":"https://api.github.com/users/andriytkachiv/repos","events_url":"https://api.github.com/users/andriytkachiv/events{/privacy}","received_events_url":"https://api.github.com/users/andriytkachiv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-23T23:57:39Z","updated_at":"2015-08-24T17:08:59Z","closed_at":null,"body":"Could you use **this** instead of **window** in self executing anonymous wrapper for whole code?\r\nI am developing third party widget and need to attach Sizzle to my custom object, so it won't pollute global scope. I wrap all my code with this ```;var myObject = {}; (function(){ /*here comes all widget's code*/ }).call(myObject);'``` and in my case  ```this != window```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jquery/sizzle/issues/comments/134303873","html_url":"https://github.com/jquery/sizzle/issues/352#issuecomment-134303873","issue_url":"https://api.github.com/repos/jquery/sizzle/issues/352","id":134303873,"user":{"login":"mzgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mzgol","html_url":"https://github.com/mzgol","followers_url":"https://api.github.com/users/mzgol/followers","following_url":"https://api.github.com/users/mzgol/following{/other_user}","gists_url":"https://api.github.com/users/mzgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mzgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzgol/subscriptions","organizations_url":"https://api.github.com/users/mzgol/orgs","repos_url":"https://api.github.com/users/mzgol/repos","events_url":"https://api.github.com/users/mzgol/events{/privacy}","received_events_url":"https://api.github.com/users/mzgol/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T17:08:59Z","updated_at":"2015-08-24T17:08:59Z","body":"@andriytkachiv Would you like to take a stab at a PR for that? If not, we'll do it one day."}}