{"action":"created","comment":{"url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/comments/23125391","id":23125391,"diff_hunk":"@@ -18,22 +18,24 @@\n \n this.initialize = function() {\n     //Set up the grid map as a 2D array\n-    this.tiles = [];\n-    for ( var i = 0; i < this.maxX - this.minX; i++ ) {\n-        this.tiles[ i ] = [];\n-        for ( var j = 0; j < this.maxY - this.minY; j++ ) {\n-            this.tiles[ i ][ j ] = new GridTile();\n+    var tiles = this.tiles = new Array( this.maxX - this.minX );\n+    for ( var i = 0; i < tiles.length; i++ ) {\n+        tiles[ i ] = new Array( this.maxY - this.minY );\n+        for ( var j = 0; j < tiles[ i ].length; j++ ) {\n+            tiles[ i ][ j ] = new GridTile();\n         }\n     }\n     this.future( 0 ).setBoundaryValues();\n }\n \n this.setBoundaryValues = function() {\n-    if ( this.boundaryValues ) {\n+    var boundaryValues = this.boundaryValues;\n+    var tiles = this.tiles;","path":"source/grid.js","position":22,"original_position":22,"commit_id":"2af7989eeb57330c7b4a37eb0329ea1dfe134dfb","original_commit_id":"2af7989eeb57330c7b4a37eb0329ea1dfe134dfb","user":{"login":"kadst43","id":7387431,"avatar_url":"https://avatars.githubusercontent.com/u/7387431?v=3","gravatar_id":"","url":"https://api.github.com/users/kadst43","html_url":"https://github.com/kadst43","followers_url":"https://api.github.com/users/kadst43/followers","following_url":"https://api.github.com/users/kadst43/following{/other_user}","gists_url":"https://api.github.com/users/kadst43/gists{/gist_id}","starred_url":"https://api.github.com/users/kadst43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadst43/subscriptions","organizations_url":"https://api.github.com/users/kadst43/orgs","repos_url":"https://api.github.com/users/kadst43/repos","events_url":"https://api.github.com/users/kadst43/events{/privacy}","received_events_url":"https://api.github.com/users/kadst43/received_events","type":"User","site_admin":false},"body":"Got it.  Makes sense.  Thanks!","created_at":"2015-01-17T14:02:46Z","updated_at":"2015-01-17T14:02:46Z","html_url":"https://github.com/virtual-world-framework/mars-game/pull/484#discussion_r23125391","pull_request_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484","_links":{"self":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/comments/23125391"},"html":{"href":"https://github.com/virtual-world-framework/mars-game/pull/484#discussion_r23125391"},"pull_request":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484"}}},"pull_request":{"url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484","id":27534610,"html_url":"https://github.com/virtual-world-framework/mars-game/pull/484","diff_url":"https://github.com/virtual-world-framework/mars-game/pull/484.diff","patch_url":"https://github.com/virtual-world-framework/mars-game/pull/484.patch","issue_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/484","number":484,"state":"open","locked":false,"title":"DONT MERGE: Blockly proc and vars","user":{"login":"AmbientOSX","id":1609980,"avatar_url":"https://avatars.githubusercontent.com/u/1609980?v=3","gravatar_id":"","url":"https://api.github.com/users/AmbientOSX","html_url":"https://github.com/AmbientOSX","followers_url":"https://api.github.com/users/AmbientOSX/followers","following_url":"https://api.github.com/users/AmbientOSX/following{/other_user}","gists_url":"https://api.github.com/users/AmbientOSX/gists{/gist_id}","starred_url":"https://api.github.com/users/AmbientOSX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmbientOSX/subscriptions","organizations_url":"https://api.github.com/users/AmbientOSX/orgs","repos_url":"https://api.github.com/users/AmbientOSX/repos","events_url":"https://api.github.com/users/AmbientOSX/events{/privacy}","received_events_url":"https://api.github.com/users/AmbientOSX/received_events","type":"User","site_admin":false},"body":"@kadst43 A VWF dev/mars-game-staging rebase is forthcoming. Coordinating to make sure no GENI servers are affected.","created_at":"2015-01-16T20:37:48Z","updated_at":"2015-01-17T14:02:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ca391f5a5ee64998cfe6364a4511ec2011ecda7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484/commits","review_comments_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484/comments","review_comment_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/comments/{number}","comments_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/484/comments","statuses_url":"https://api.github.com/repos/virtual-world-framework/mars-game/statuses/2af7989eeb57330c7b4a37eb0329ea1dfe134dfb","head":{"label":"virtual-world-framework:blockly-proc-and-vars","ref":"blockly-proc-and-vars","sha":"2af7989eeb57330c7b4a37eb0329ea1dfe134dfb","user":{"login":"virtual-world-framework","id":1552130,"avatar_url":"https://avatars.githubusercontent.com/u/1552130?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual-world-framework","html_url":"https://github.com/virtual-world-framework","followers_url":"https://api.github.com/users/virtual-world-framework/followers","following_url":"https://api.github.com/users/virtual-world-framework/following{/other_user}","gists_url":"https://api.github.com/users/virtual-world-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual-world-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual-world-framework/subscriptions","organizations_url":"https://api.github.com/users/virtual-world-framework/orgs","repos_url":"https://api.github.com/users/virtual-world-framework/repos","events_url":"https://api.github.com/users/virtual-world-framework/events{/privacy}","received_events_url":"https://api.github.com/users/virtual-world-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":17410926,"name":"mars-game","full_name":"virtual-world-framework/mars-game","owner":{"login":"virtual-world-framework","id":1552130,"avatar_url":"https://avatars.githubusercontent.com/u/1552130?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual-world-framework","html_url":"https://github.com/virtual-world-framework","followers_url":"https://api.github.com/users/virtual-world-framework/followers","following_url":"https://api.github.com/users/virtual-world-framework/following{/other_user}","gists_url":"https://api.github.com/users/virtual-world-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual-world-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual-world-framework/subscriptions","organizations_url":"https://api.github.com/users/virtual-world-framework/orgs","repos_url":"https://api.github.com/users/virtual-world-framework/repos","events_url":"https://api.github.com/users/virtual-world-framework/events{/privacy}","received_events_url":"https://api.github.com/users/virtual-world-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtual-world-framework/mars-game","description":"A game designed to teach STEM concepts to high school students under the ADL True Game-based Learning project.","fork":false,"url":"https://api.github.com/repos/virtual-world-framework/mars-game","forks_url":"https://api.github.com/repos/virtual-world-framework/mars-game/forks","keys_url":"https://api.github.com/repos/virtual-world-framework/mars-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtual-world-framework/mars-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtual-world-framework/mars-game/teams","hooks_url":"https://api.github.com/repos/virtual-world-framework/mars-game/hooks","issue_events_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/events{/number}","events_url":"https://api.github.com/repos/virtual-world-framework/mars-game/events","assignees_url":"https://api.github.com/repos/virtual-world-framework/mars-game/assignees{/user}","branches_url":"https://api.github.com/repos/virtual-world-framework/mars-game/branches{/branch}","tags_url":"https://api.github.com/repos/virtual-world-framework/mars-game/tags","blobs_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtual-world-framework/mars-game/statuses/{sha}","languages_url":"https://api.github.com/repos/virtual-world-framework/mars-game/languages","stargazers_url":"https://api.github.com/repos/virtual-world-framework/mars-game/stargazers","contributors_url":"https://api.github.com/repos/virtual-world-framework/mars-game/contributors","subscribers_url":"https://api.github.com/repos/virtual-world-framework/mars-game/subscribers","subscription_url":"https://api.github.com/repos/virtual-world-framework/mars-game/subscription","commits_url":"https://api.github.com/repos/virtual-world-framework/mars-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtual-world-framework/mars-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/comments/{number}","contents_url":"https://api.github.com/repos/virtual-world-framework/mars-game/contents/{+path}","compare_url":"https://api.github.com/repos/virtual-world-framework/mars-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtual-world-framework/mars-game/merges","archive_url":"https://api.github.com/repos/virtual-world-framework/mars-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtual-world-framework/mars-game/downloads","issues_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues{/number}","pulls_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls{/number}","milestones_url":"https://api.github.com/repos/virtual-world-framework/mars-game/milestones{/number}","notifications_url":"https://api.github.com/repos/virtual-world-framework/mars-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtual-world-framework/mars-game/labels{/name}","releases_url":"https://api.github.com/repos/virtual-world-framework/mars-game/releases{/id}","created_at":"2014-03-04T17:43:02Z","updated_at":"2015-01-05T17:55:09Z","pushed_at":"2015-01-16T21:35:24Z","git_url":"git://github.com/virtual-world-framework/mars-game.git","ssh_url":"git@github.com:virtual-world-framework/mars-game.git","clone_url":"https://github.com/virtual-world-framework/mars-game.git","svn_url":"https://github.com/virtual-world-framework/mars-game","homepage":"","size":2165972,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"mars-game-staging"}},"base":{"label":"virtual-world-framework:trigger-improvements","ref":"trigger-improvements","sha":"e5415c9dc231f2de8c3f1b84b84801c97b95b5bb","user":{"login":"virtual-world-framework","id":1552130,"avatar_url":"https://avatars.githubusercontent.com/u/1552130?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual-world-framework","html_url":"https://github.com/virtual-world-framework","followers_url":"https://api.github.com/users/virtual-world-framework/followers","following_url":"https://api.github.com/users/virtual-world-framework/following{/other_user}","gists_url":"https://api.github.com/users/virtual-world-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual-world-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual-world-framework/subscriptions","organizations_url":"https://api.github.com/users/virtual-world-framework/orgs","repos_url":"https://api.github.com/users/virtual-world-framework/repos","events_url":"https://api.github.com/users/virtual-world-framework/events{/privacy}","received_events_url":"https://api.github.com/users/virtual-world-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":17410926,"name":"mars-game","full_name":"virtual-world-framework/mars-game","owner":{"login":"virtual-world-framework","id":1552130,"avatar_url":"https://avatars.githubusercontent.com/u/1552130?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual-world-framework","html_url":"https://github.com/virtual-world-framework","followers_url":"https://api.github.com/users/virtual-world-framework/followers","following_url":"https://api.github.com/users/virtual-world-framework/following{/other_user}","gists_url":"https://api.github.com/users/virtual-world-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual-world-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual-world-framework/subscriptions","organizations_url":"https://api.github.com/users/virtual-world-framework/orgs","repos_url":"https://api.github.com/users/virtual-world-framework/repos","events_url":"https://api.github.com/users/virtual-world-framework/events{/privacy}","received_events_url":"https://api.github.com/users/virtual-world-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtual-world-framework/mars-game","description":"A game designed to teach STEM concepts to high school students under the ADL True Game-based Learning project.","fork":false,"url":"https://api.github.com/repos/virtual-world-framework/mars-game","forks_url":"https://api.github.com/repos/virtual-world-framework/mars-game/forks","keys_url":"https://api.github.com/repos/virtual-world-framework/mars-game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtual-world-framework/mars-game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtual-world-framework/mars-game/teams","hooks_url":"https://api.github.com/repos/virtual-world-framework/mars-game/hooks","issue_events_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/events{/number}","events_url":"https://api.github.com/repos/virtual-world-framework/mars-game/events","assignees_url":"https://api.github.com/repos/virtual-world-framework/mars-game/assignees{/user}","branches_url":"https://api.github.com/repos/virtual-world-framework/mars-game/branches{/branch}","tags_url":"https://api.github.com/repos/virtual-world-framework/mars-game/tags","blobs_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtual-world-framework/mars-game/statuses/{sha}","languages_url":"https://api.github.com/repos/virtual-world-framework/mars-game/languages","stargazers_url":"https://api.github.com/repos/virtual-world-framework/mars-game/stargazers","contributors_url":"https://api.github.com/repos/virtual-world-framework/mars-game/contributors","subscribers_url":"https://api.github.com/repos/virtual-world-framework/mars-game/subscribers","subscription_url":"https://api.github.com/repos/virtual-world-framework/mars-game/subscription","commits_url":"https://api.github.com/repos/virtual-world-framework/mars-game/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtual-world-framework/mars-game/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtual-world-framework/mars-game/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/comments/{number}","contents_url":"https://api.github.com/repos/virtual-world-framework/mars-game/contents/{+path}","compare_url":"https://api.github.com/repos/virtual-world-framework/mars-game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtual-world-framework/mars-game/merges","archive_url":"https://api.github.com/repos/virtual-world-framework/mars-game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtual-world-framework/mars-game/downloads","issues_url":"https://api.github.com/repos/virtual-world-framework/mars-game/issues{/number}","pulls_url":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls{/number}","milestones_url":"https://api.github.com/repos/virtual-world-framework/mars-game/milestones{/number}","notifications_url":"https://api.github.com/repos/virtual-world-framework/mars-game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtual-world-framework/mars-game/labels{/name}","releases_url":"https://api.github.com/repos/virtual-world-framework/mars-game/releases{/id}","created_at":"2014-03-04T17:43:02Z","updated_at":"2015-01-05T17:55:09Z","pushed_at":"2015-01-16T21:35:24Z","git_url":"git://github.com/virtual-world-framework/mars-game.git","ssh_url":"git@github.com:virtual-world-framework/mars-game.git","clone_url":"https://github.com/virtual-world-framework/mars-game.git","svn_url":"https://github.com/virtual-world-framework/mars-game","homepage":"","size":2165972,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"mars-game-staging"}},"_links":{"self":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484"},"html":{"href":"https://github.com/virtual-world-framework/mars-game/pull/484"},"issue":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/484"},"comments":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/issues/484/comments"},"review_comments":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484/comments"},"review_comment":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/pulls/484/commits"},"statuses":{"href":"https://api.github.com/repos/virtual-world-framework/mars-game/statuses/2af7989eeb57330c7b4a37eb0329ea1dfe134dfb"}}}}