{"action":"created","comment":{"url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/comments/60820510","id":60820510,"diff_hunk":"@@ -0,0 +1,34 @@\n+[tags]: / \"class\"\n+\n+# Declare variables\n+\n+Create a variable without type. Although the type is not explicity declared, you cannot reassign the variable later to a different type.","path":"assets/content/cookbook/Beginner/declare-variables.md","position":5,"original_position":5,"commit_id":"3ce1ad57301d9d312f50b7d32a670ff8208f2d89","original_commit_id":"3ce1ad57301d9d312f50b7d32a670ff8208f2d89","user":{"login":"Jon2211","id":6751868,"avatar_url":"https://avatars.githubusercontent.com/u/6751868?v=3","gravatar_id":"","url":"https://api.github.com/users/Jon2211","html_url":"https://github.com/Jon2211","followers_url":"https://api.github.com/users/Jon2211/followers","following_url":"https://api.github.com/users/Jon2211/following{/other_user}","gists_url":"https://api.github.com/users/Jon2211/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon2211/subscriptions","organizations_url":"https://api.github.com/users/Jon2211/orgs","repos_url":"https://api.github.com/users/Jon2211/repos","events_url":"https://api.github.com/users/Jon2211/events{/privacy}","received_events_url":"https://api.github.com/users/Jon2211/received_events","type":"User","site_admin":false},"body":"or maybe without a declared type","created_at":"2016-04-23T01:29:51Z","updated_at":"2016-04-23T01:29:51Z","html_url":"https://github.com/HaxeFoundation/code-cookbook/pull/32#discussion_r60820510","pull_request_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/comments/60820510"},"html":{"href":"https://github.com/HaxeFoundation/code-cookbook/pull/32#discussion_r60820510"},"pull_request":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32","id":67569500,"html_url":"https://github.com/HaxeFoundation/code-cookbook/pull/32","diff_url":"https://github.com/HaxeFoundation/code-cookbook/pull/32.diff","patch_url":"https://github.com/HaxeFoundation/code-cookbook/pull/32.patch","issue_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/32","number":32,"state":"open","locked":false,"title":"Added Declaring Variables","user":{"login":"Jon2211","id":6751868,"avatar_url":"https://avatars.githubusercontent.com/u/6751868?v=3","gravatar_id":"","url":"https://api.github.com/users/Jon2211","html_url":"https://github.com/Jon2211","followers_url":"https://api.github.com/users/Jon2211/followers","following_url":"https://api.github.com/users/Jon2211/following{/other_user}","gists_url":"https://api.github.com/users/Jon2211/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon2211/subscriptions","organizations_url":"https://api.github.com/users/Jon2211/orgs","repos_url":"https://api.github.com/users/Jon2211/repos","events_url":"https://api.github.com/users/Jon2211/events{/privacy}","received_events_url":"https://api.github.com/users/Jon2211/received_events","type":"User","site_admin":false},"body":"Added to beginner section: declaring an untyped, a typed and a dynamic variable","created_at":"2016-04-22T20:37:43Z","updated_at":"2016-04-23T01:29:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b75a456c093a51cf44659e0fa16c87faa6f5d91a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32/commits","review_comments_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32/comments","review_comment_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/32/comments","statuses_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/statuses/3ce1ad57301d9d312f50b7d32a670ff8208f2d89","head":{"label":"Jon2211:master","ref":"master","sha":"3ce1ad57301d9d312f50b7d32a670ff8208f2d89","user":{"login":"Jon2211","id":6751868,"avatar_url":"https://avatars.githubusercontent.com/u/6751868?v=3","gravatar_id":"","url":"https://api.github.com/users/Jon2211","html_url":"https://github.com/Jon2211","followers_url":"https://api.github.com/users/Jon2211/followers","following_url":"https://api.github.com/users/Jon2211/following{/other_user}","gists_url":"https://api.github.com/users/Jon2211/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon2211/subscriptions","organizations_url":"https://api.github.com/users/Jon2211/orgs","repos_url":"https://api.github.com/users/Jon2211/repos","events_url":"https://api.github.com/users/Jon2211/events{/privacy}","received_events_url":"https://api.github.com/users/Jon2211/received_events","type":"User","site_admin":false},"repo":{"id":56883190,"name":"code-cookbook","full_name":"Jon2211/code-cookbook","owner":{"login":"Jon2211","id":6751868,"avatar_url":"https://avatars.githubusercontent.com/u/6751868?v=3","gravatar_id":"","url":"https://api.github.com/users/Jon2211","html_url":"https://github.com/Jon2211","followers_url":"https://api.github.com/users/Jon2211/followers","following_url":"https://api.github.com/users/Jon2211/following{/other_user}","gists_url":"https://api.github.com/users/Jon2211/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon2211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon2211/subscriptions","organizations_url":"https://api.github.com/users/Jon2211/orgs","repos_url":"https://api.github.com/users/Jon2211/repos","events_url":"https://api.github.com/users/Jon2211/events{/privacy}","received_events_url":"https://api.github.com/users/Jon2211/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jon2211/code-cookbook","description":"The Haxe Code Cookbook","fork":true,"url":"https://api.github.com/repos/Jon2211/code-cookbook","forks_url":"https://api.github.com/repos/Jon2211/code-cookbook/forks","keys_url":"https://api.github.com/repos/Jon2211/code-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jon2211/code-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jon2211/code-cookbook/teams","hooks_url":"https://api.github.com/repos/Jon2211/code-cookbook/hooks","issue_events_url":"https://api.github.com/repos/Jon2211/code-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/Jon2211/code-cookbook/events","assignees_url":"https://api.github.com/repos/Jon2211/code-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/Jon2211/code-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/Jon2211/code-cookbook/tags","blobs_url":"https://api.github.com/repos/Jon2211/code-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jon2211/code-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jon2211/code-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jon2211/code-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jon2211/code-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/Jon2211/code-cookbook/languages","stargazers_url":"https://api.github.com/repos/Jon2211/code-cookbook/stargazers","contributors_url":"https://api.github.com/repos/Jon2211/code-cookbook/contributors","subscribers_url":"https://api.github.com/repos/Jon2211/code-cookbook/subscribers","subscription_url":"https://api.github.com/repos/Jon2211/code-cookbook/subscription","commits_url":"https://api.github.com/repos/Jon2211/code-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jon2211/code-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jon2211/code-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jon2211/code-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jon2211/code-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/Jon2211/code-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jon2211/code-cookbook/merges","archive_url":"https://api.github.com/repos/Jon2211/code-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jon2211/code-cookbook/downloads","issues_url":"https://api.github.com/repos/Jon2211/code-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/Jon2211/code-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/Jon2211/code-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/Jon2211/code-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jon2211/code-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/Jon2211/code-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/Jon2211/code-cookbook/deployments","created_at":"2016-04-22T20:25:32Z","updated_at":"2016-04-22T20:25:34Z","pushed_at":"2016-04-22T20:36:23Z","git_url":"git://github.com/Jon2211/code-cookbook.git","ssh_url":"git@github.com:Jon2211/code-cookbook.git","clone_url":"https://github.com/Jon2211/code-cookbook.git","svn_url":"https://github.com/Jon2211/code-cookbook","homepage":"http://code.haxe.org","size":651,"stargazers_count":0,"watchers_count":0,"language":"Haxe","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HaxeFoundation:master","ref":"master","sha":"6dfcc7e1915ffa24216a41fb38e2dae1cc85ed0d","user":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":54491629,"name":"code-cookbook","full_name":"HaxeFoundation/code-cookbook","owner":{"login":"HaxeFoundation","id":3826779,"avatar_url":"https://avatars.githubusercontent.com/u/3826779?v=3","gravatar_id":"","url":"https://api.github.com/users/HaxeFoundation","html_url":"https://github.com/HaxeFoundation","followers_url":"https://api.github.com/users/HaxeFoundation/followers","following_url":"https://api.github.com/users/HaxeFoundation/following{/other_user}","gists_url":"https://api.github.com/users/HaxeFoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/HaxeFoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaxeFoundation/subscriptions","organizations_url":"https://api.github.com/users/HaxeFoundation/orgs","repos_url":"https://api.github.com/users/HaxeFoundation/repos","events_url":"https://api.github.com/users/HaxeFoundation/events{/privacy}","received_events_url":"https://api.github.com/users/HaxeFoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HaxeFoundation/code-cookbook","description":"The Haxe Code Cookbook","fork":false,"url":"https://api.github.com/repos/HaxeFoundation/code-cookbook","forks_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/forks","keys_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/teams","hooks_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/hooks","issue_events_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/events","assignees_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/tags","blobs_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/languages","stargazers_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/stargazers","contributors_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/contributors","subscribers_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/subscribers","subscription_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/subscription","commits_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/merges","archive_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/downloads","issues_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/HaxeFoundation/code-cookbook/deployments","created_at":"2016-03-22T16:37:28Z","updated_at":"2016-04-13T16:41:13Z","pushed_at":"2016-04-22T20:37:43Z","git_url":"git://github.com/HaxeFoundation/code-cookbook.git","ssh_url":"git@github.com:HaxeFoundation/code-cookbook.git","clone_url":"https://github.com/HaxeFoundation/code-cookbook.git","svn_url":"https://github.com/HaxeFoundation/code-cookbook","homepage":"http://code.haxe.org","size":677,"stargazers_count":29,"watchers_count":29,"language":"Haxe","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":2,"forks":15,"open_issues":2,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32"},"html":{"href":"https://github.com/HaxeFoundation/code-cookbook/pull/32"},"issue":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/32"},"comments":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/HaxeFoundation/code-cookbook/statuses/3ce1ad57301d9d312f50b7d32a670ff8208f2d89"}}}}