{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/danski/spahql/pulls/30","id":31200820,"html_url":"https://github.com/danski/spahql/pull/30","diff_url":"https://github.com/danski/spahql/pull/30.diff","patch_url":"https://github.com/danski/spahql/pull/30.patch","issue_url":"https://api.github.com/repos/danski/spahql/issues/30","number":30,"state":"open","locked":false,"title":"Fixes for issue #22","user":{"login":"bedney","id":13412,"avatar_url":"https://avatars.githubusercontent.com/u/13412?v=3","gravatar_id":"","url":"https://api.github.com/users/bedney","html_url":"https://github.com/bedney","followers_url":"https://api.github.com/users/bedney/followers","following_url":"https://api.github.com/users/bedney/following{/other_user}","gists_url":"https://api.github.com/users/bedney/gists{/gist_id}","starred_url":"https://api.github.com/users/bedney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bedney/subscriptions","organizations_url":"https://api.github.com/users/bedney/orgs","repos_url":"https://api.github.com/users/bedney/repos","events_url":"https://api.github.com/users/bedney/events{/privacy}","received_events_url":"https://api.github.com/users/bedney/received_events","type":"User","site_admin":false},"body":"This fixes the problems encountered when using SpahQL with libraries that extend (i.e. monkey patch) built-in prototypes, like Array. This should fix issue #22 . It is, admittedly, a pretty brute force approach, but best practices around `for...in` loops these days is to check with `hasOwnProperty`.","created_at":"2015-03-15T14:14:52Z","updated_at":"2015-03-15T14:14:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/danski/spahql/pulls/30/commits","review_comments_url":"https://api.github.com/repos/danski/spahql/pulls/30/comments","review_comment_url":"https://api.github.com/repos/danski/spahql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danski/spahql/issues/30/comments","statuses_url":"https://api.github.com/repos/danski/spahql/statuses/dd9226de96247e747981bcaba682ff6f220e6fbe","head":{"label":"TechnicalPursuit:issue22","ref":"issue22","sha":"dd9226de96247e747981bcaba682ff6f220e6fbe","user":{"login":"TechnicalPursuit","id":744580,"avatar_url":"https://avatars.githubusercontent.com/u/744580?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnicalPursuit","html_url":"https://github.com/TechnicalPursuit","followers_url":"https://api.github.com/users/TechnicalPursuit/followers","following_url":"https://api.github.com/users/TechnicalPursuit/following{/other_user}","gists_url":"https://api.github.com/users/TechnicalPursuit/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnicalPursuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnicalPursuit/subscriptions","organizations_url":"https://api.github.com/users/TechnicalPursuit/orgs","repos_url":"https://api.github.com/users/TechnicalPursuit/repos","events_url":"https://api.github.com/users/TechnicalPursuit/events{/privacy}","received_events_url":"https://api.github.com/users/TechnicalPursuit/received_events","type":"Organization","site_admin":false},"repo":{"id":32260612,"name":"spahql","full_name":"TechnicalPursuit/spahql","owner":{"login":"TechnicalPursuit","id":744580,"avatar_url":"https://avatars.githubusercontent.com/u/744580?v=3","gravatar_id":"","url":"https://api.github.com/users/TechnicalPursuit","html_url":"https://github.com/TechnicalPursuit","followers_url":"https://api.github.com/users/TechnicalPursuit/followers","following_url":"https://api.github.com/users/TechnicalPursuit/following{/other_user}","gists_url":"https://api.github.com/users/TechnicalPursuit/gists{/gist_id}","starred_url":"https://api.github.com/users/TechnicalPursuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TechnicalPursuit/subscriptions","organizations_url":"https://api.github.com/users/TechnicalPursuit/orgs","repos_url":"https://api.github.com/users/TechnicalPursuit/repos","events_url":"https://api.github.com/users/TechnicalPursuit/events{/privacy}","received_events_url":"https://api.github.com/users/TechnicalPursuit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TechnicalPursuit/spahql","description":"A query language for Javascript data. Extracted from Spah.","fork":true,"url":"https://api.github.com/repos/TechnicalPursuit/spahql","forks_url":"https://api.github.com/repos/TechnicalPursuit/spahql/forks","keys_url":"https://api.github.com/repos/TechnicalPursuit/spahql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TechnicalPursuit/spahql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TechnicalPursuit/spahql/teams","hooks_url":"https://api.github.com/repos/TechnicalPursuit/spahql/hooks","issue_events_url":"https://api.github.com/repos/TechnicalPursuit/spahql/issues/events{/number}","events_url":"https://api.github.com/repos/TechnicalPursuit/spahql/events","assignees_url":"https://api.github.com/repos/TechnicalPursuit/spahql/assignees{/user}","branches_url":"https://api.github.com/repos/TechnicalPursuit/spahql/branches{/branch}","tags_url":"https://api.github.com/repos/TechnicalPursuit/spahql/tags","blobs_url":"https://api.github.com/repos/TechnicalPursuit/spahql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TechnicalPursuit/spahql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TechnicalPursuit/spahql/git/refs{/sha}","trees_url":"https://api.github.com/repos/TechnicalPursuit/spahql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TechnicalPursuit/spahql/statuses/{sha}","languages_url":"https://api.github.com/repos/TechnicalPursuit/spahql/languages","stargazers_url":"https://api.github.com/repos/TechnicalPursuit/spahql/stargazers","contributors_url":"https://api.github.com/repos/TechnicalPursuit/spahql/contributors","subscribers_url":"https://api.github.com/repos/TechnicalPursuit/spahql/subscribers","subscription_url":"https://api.github.com/repos/TechnicalPursuit/spahql/subscription","commits_url":"https://api.github.com/repos/TechnicalPursuit/spahql/commits{/sha}","git_commits_url":"https://api.github.com/repos/TechnicalPursuit/spahql/git/commits{/sha}","comments_url":"https://api.github.com/repos/TechnicalPursuit/spahql/comments{/number}","issue_comment_url":"https://api.github.com/repos/TechnicalPursuit/spahql/issues/comments{/number}","contents_url":"https://api.github.com/repos/TechnicalPursuit/spahql/contents/{+path}","compare_url":"https://api.github.com/repos/TechnicalPursuit/spahql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TechnicalPursuit/spahql/merges","archive_url":"https://api.github.com/repos/TechnicalPursuit/spahql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TechnicalPursuit/spahql/downloads","issues_url":"https://api.github.com/repos/TechnicalPursuit/spahql/issues{/number}","pulls_url":"https://api.github.com/repos/TechnicalPursuit/spahql/pulls{/number}","milestones_url":"https://api.github.com/repos/TechnicalPursuit/spahql/milestones{/number}","notifications_url":"https://api.github.com/repos/TechnicalPursuit/spahql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TechnicalPursuit/spahql/labels{/name}","releases_url":"https://api.github.com/repos/TechnicalPursuit/spahql/releases{/id}","created_at":"2015-03-15T12:57:44Z","updated_at":"2015-03-15T12:57:45Z","pushed_at":"2015-03-15T14:09:40Z","git_url":"git://github.com/TechnicalPursuit/spahql.git","ssh_url":"git@github.com:TechnicalPursuit/spahql.git","clone_url":"https://github.com/TechnicalPursuit/spahql.git","svn_url":"https://github.com/TechnicalPursuit/spahql","homepage":null,"size":1241,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danski:master","ref":"master","sha":"f093c1d5098e2dc9dcf9f3be1b1c43a9ea829904","user":{"login":"danski","id":8480,"avatar_url":"https://avatars.githubusercontent.com/u/8480?v=3","gravatar_id":"","url":"https://api.github.com/users/danski","html_url":"https://github.com/danski","followers_url":"https://api.github.com/users/danski/followers","following_url":"https://api.github.com/users/danski/following{/other_user}","gists_url":"https://api.github.com/users/danski/gists{/gist_id}","starred_url":"https://api.github.com/users/danski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danski/subscriptions","organizations_url":"https://api.github.com/users/danski/orgs","repos_url":"https://api.github.com/users/danski/repos","events_url":"https://api.github.com/users/danski/events{/privacy}","received_events_url":"https://api.github.com/users/danski/received_events","type":"User","site_admin":false},"repo":{"id":4222767,"name":"spahql","full_name":"danski/spahql","owner":{"login":"danski","id":8480,"avatar_url":"https://avatars.githubusercontent.com/u/8480?v=3","gravatar_id":"","url":"https://api.github.com/users/danski","html_url":"https://github.com/danski","followers_url":"https://api.github.com/users/danski/followers","following_url":"https://api.github.com/users/danski/following{/other_user}","gists_url":"https://api.github.com/users/danski/gists{/gist_id}","starred_url":"https://api.github.com/users/danski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danski/subscriptions","organizations_url":"https://api.github.com/users/danski/orgs","repos_url":"https://api.github.com/users/danski/repos","events_url":"https://api.github.com/users/danski/events{/privacy}","received_events_url":"https://api.github.com/users/danski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danski/spahql","description":"A query language for Javascript data. Extracted from Spah.","fork":false,"url":"https://api.github.com/repos/danski/spahql","forks_url":"https://api.github.com/repos/danski/spahql/forks","keys_url":"https://api.github.com/repos/danski/spahql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danski/spahql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danski/spahql/teams","hooks_url":"https://api.github.com/repos/danski/spahql/hooks","issue_events_url":"https://api.github.com/repos/danski/spahql/issues/events{/number}","events_url":"https://api.github.com/repos/danski/spahql/events","assignees_url":"https://api.github.com/repos/danski/spahql/assignees{/user}","branches_url":"https://api.github.com/repos/danski/spahql/branches{/branch}","tags_url":"https://api.github.com/repos/danski/spahql/tags","blobs_url":"https://api.github.com/repos/danski/spahql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danski/spahql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danski/spahql/git/refs{/sha}","trees_url":"https://api.github.com/repos/danski/spahql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danski/spahql/statuses/{sha}","languages_url":"https://api.github.com/repos/danski/spahql/languages","stargazers_url":"https://api.github.com/repos/danski/spahql/stargazers","contributors_url":"https://api.github.com/repos/danski/spahql/contributors","subscribers_url":"https://api.github.com/repos/danski/spahql/subscribers","subscription_url":"https://api.github.com/repos/danski/spahql/subscription","commits_url":"https://api.github.com/repos/danski/spahql/commits{/sha}","git_commits_url":"https://api.github.com/repos/danski/spahql/git/commits{/sha}","comments_url":"https://api.github.com/repos/danski/spahql/comments{/number}","issue_comment_url":"https://api.github.com/repos/danski/spahql/issues/comments{/number}","contents_url":"https://api.github.com/repos/danski/spahql/contents/{+path}","compare_url":"https://api.github.com/repos/danski/spahql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danski/spahql/merges","archive_url":"https://api.github.com/repos/danski/spahql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danski/spahql/downloads","issues_url":"https://api.github.com/repos/danski/spahql/issues{/number}","pulls_url":"https://api.github.com/repos/danski/spahql/pulls{/number}","milestones_url":"https://api.github.com/repos/danski/spahql/milestones{/number}","notifications_url":"https://api.github.com/repos/danski/spahql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danski/spahql/labels{/name}","releases_url":"https://api.github.com/repos/danski/spahql/releases{/id}","created_at":"2012-05-04T07:59:49Z","updated_at":"2015-03-02T15:02:56Z","pushed_at":"2014-04-06T23:43:20Z","git_url":"git://github.com/danski/spahql.git","ssh_url":"git@github.com:danski/spahql.git","clone_url":"https://github.com/danski/spahql.git","svn_url":"https://github.com/danski/spahql","homepage":null,"size":1241,"stargazers_count":293,"watchers_count":293,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":20,"forks":15,"open_issues":20,"watchers":293,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danski/spahql/pulls/30"},"html":{"href":"https://github.com/danski/spahql/pull/30"},"issue":{"href":"https://api.github.com/repos/danski/spahql/issues/30"},"comments":{"href":"https://api.github.com/repos/danski/spahql/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/danski/spahql/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/danski/spahql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danski/spahql/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/danski/spahql/statuses/dd9226de96247e747981bcaba682ff6f220e6fbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":8,"changed_files":8}}