{"action":"created","comment":{"url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/comments/62026642","id":62026642,"diff_hunk":"@@ -0,0 +1,76 @@\n+'use strict';\n+\n+var objectAssign = require( 'object-assign' ),\n+\n+\t/**\n+\t * View Handler for enabling and disabling elements if the update value exceeds a certain threshold\n+\t * @class\n+\t */\n+\tFeeOptionSwitcher = {\n+\t\tisDisabled: null, // Null to always trigger show/hide on first call to update\n+\t\tthresholdValue: 0,\n+\n+\t\tupdate: function ( value ) {\n+\t\t\tif ( value > this.thresholdValue ) {\n+\t\t\t\tif ( this.isDisabled === true ) {\n+\t\t\t\t\treturn;\n+\t\t\t\t}\n+\t\t\t\tthis.toggler.disableElement();\n+\t\t\t\tthis.isDisabled = true;\n+\t\t\t} else {\n+\t\t\t\tif ( this.isDisabled === false ) {\n+\t\t\t\t\treturn;\n+\t\t\t\t}\n+\t\t\t\tthis.toggler.enableElement();\n+\t\t\t\tthis.isDisabled = false;\n+\t\t\t}\n+\t\t}\n+\t},\n+\n+\tElementAvailabilityToggler = {\n+\t\telement: null,","path":"app/js/lib/view_handler/fee_option_switcher.js","position":31,"original_position":31,"commit_id":"c8b7f991e3c9a549d7e699f5366c9e7268eeca93","original_commit_id":"c8b7f991e3c9a549d7e699f5366c9e7268eeca93","user":{"login":"KaiNissen","id":5435996,"avatar_url":"https://avatars.githubusercontent.com/u/5435996?v=3","gravatar_id":"","url":"https://api.github.com/users/KaiNissen","html_url":"https://github.com/KaiNissen","followers_url":"https://api.github.com/users/KaiNissen/followers","following_url":"https://api.github.com/users/KaiNissen/following{/other_user}","gists_url":"https://api.github.com/users/KaiNissen/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiNissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiNissen/subscriptions","organizations_url":"https://api.github.com/users/KaiNissen/orgs","repos_url":"https://api.github.com/users/KaiNissen/repos","events_url":"https://api.github.com/users/KaiNissen/events{/privacy}","received_events_url":"https://api.github.com/users/KaiNissen/received_events","type":"User","site_admin":false},"body":"Into `ElementAvailabilityToggler` you mean? Because if it's in `FeeOptionSwitcher` I can't inject a toggler spy anymore.","created_at":"2016-05-04T11:58:11Z","updated_at":"2016-05-04T11:58:11Z","html_url":"https://github.com/wmde/FundraisingFrontend/pull/370#discussion_r62026642","pull_request_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370","_links":{"self":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/comments/62026642"},"html":{"href":"https://github.com/wmde/FundraisingFrontend/pull/370#discussion_r62026642"},"pull_request":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370"}}},"pull_request":{"url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370","id":68732601,"html_url":"https://github.com/wmde/FundraisingFrontend/pull/370","diff_url":"https://github.com/wmde/FundraisingFrontend/pull/370.diff","patch_url":"https://github.com/wmde/FundraisingFrontend/pull/370.patch","issue_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/370","number":370,"state":"open","locked":false,"title":"[WIP] Membership form client code","user":{"login":"KaiNissen","id":5435996,"avatar_url":"https://avatars.githubusercontent.com/u/5435996?v=3","gravatar_id":"","url":"https://api.github.com/users/KaiNissen","html_url":"https://github.com/KaiNissen","followers_url":"https://api.github.com/users/KaiNissen/followers","following_url":"https://api.github.com/users/KaiNissen/following{/other_user}","gists_url":"https://api.github.com/users/KaiNissen/gists{/gist_id}","starred_url":"https://api.github.com/users/KaiNissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaiNissen/subscriptions","organizations_url":"https://api.github.com/users/KaiNissen/orgs","repos_url":"https://api.github.com/users/KaiNissen/repos","events_url":"https://api.github.com/users/KaiNissen/events{/privacy}","received_events_url":"https://api.github.com/users/KaiNissen/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-03T16:15:24Z","updated_at":"2016-05-04T11:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94aa45db5609a3e7ef7696965340acd4f5760154","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370/commits","review_comments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370/comments","review_comment_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/370/comments","statuses_url":"https://api.github.com/repos/wmde/FundraisingFrontend/statuses/c8b7f991e3c9a549d7e699f5366c9e7268eeca93","head":{"label":"wmde:membership-form","ref":"membership-form","sha":"c8b7f991e3c9a549d7e699f5366c9e7268eeca93","user":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"repo":{"id":42872217,"name":"FundraisingFrontend","full_name":"wmde/FundraisingFrontend","owner":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wmde/FundraisingFrontend","description":"Fundraising Frontend backend code v2 alpha","fork":false,"url":"https://api.github.com/repos/wmde/FundraisingFrontend","forks_url":"https://api.github.com/repos/wmde/FundraisingFrontend/forks","keys_url":"https://api.github.com/repos/wmde/FundraisingFrontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmde/FundraisingFrontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmde/FundraisingFrontend/teams","hooks_url":"https://api.github.com/repos/wmde/FundraisingFrontend/hooks","issue_events_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/events{/number}","events_url":"https://api.github.com/repos/wmde/FundraisingFrontend/events","assignees_url":"https://api.github.com/repos/wmde/FundraisingFrontend/assignees{/user}","branches_url":"https://api.github.com/repos/wmde/FundraisingFrontend/branches{/branch}","tags_url":"https://api.github.com/repos/wmde/FundraisingFrontend/tags","blobs_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmde/FundraisingFrontend/statuses/{sha}","languages_url":"https://api.github.com/repos/wmde/FundraisingFrontend/languages","stargazers_url":"https://api.github.com/repos/wmde/FundraisingFrontend/stargazers","contributors_url":"https://api.github.com/repos/wmde/FundraisingFrontend/contributors","subscribers_url":"https://api.github.com/repos/wmde/FundraisingFrontend/subscribers","subscription_url":"https://api.github.com/repos/wmde/FundraisingFrontend/subscription","commits_url":"https://api.github.com/repos/wmde/FundraisingFrontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmde/FundraisingFrontend/contents/{+path}","compare_url":"https://api.github.com/repos/wmde/FundraisingFrontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmde/FundraisingFrontend/merges","archive_url":"https://api.github.com/repos/wmde/FundraisingFrontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmde/FundraisingFrontend/downloads","issues_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues{/number}","pulls_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls{/number}","milestones_url":"https://api.github.com/repos/wmde/FundraisingFrontend/milestones{/number}","notifications_url":"https://api.github.com/repos/wmde/FundraisingFrontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmde/FundraisingFrontend/labels{/name}","releases_url":"https://api.github.com/repos/wmde/FundraisingFrontend/releases{/id}","deployments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/deployments","created_at":"2015-09-21T14:42:43Z","updated_at":"2016-04-28T08:49:36Z","pushed_at":"2016-05-04T11:52:05Z","git_url":"git://github.com/wmde/FundraisingFrontend.git","ssh_url":"git@github.com:wmde/FundraisingFrontend.git","clone_url":"https://github.com/wmde/FundraisingFrontend.git","svn_url":"https://github.com/wmde/FundraisingFrontend","homepage":"","size":1704,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":11,"default_branch":"master"}},"base":{"label":"wmde:master","ref":"master","sha":"5f53257412184696916c2a2824fbc2e7bba4acb4","user":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"repo":{"id":42872217,"name":"FundraisingFrontend","full_name":"wmde/FundraisingFrontend","owner":{"login":"wmde","id":664724,"avatar_url":"https://avatars.githubusercontent.com/u/664724?v=3","gravatar_id":"","url":"https://api.github.com/users/wmde","html_url":"https://github.com/wmde","followers_url":"https://api.github.com/users/wmde/followers","following_url":"https://api.github.com/users/wmde/following{/other_user}","gists_url":"https://api.github.com/users/wmde/gists{/gist_id}","starred_url":"https://api.github.com/users/wmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmde/subscriptions","organizations_url":"https://api.github.com/users/wmde/orgs","repos_url":"https://api.github.com/users/wmde/repos","events_url":"https://api.github.com/users/wmde/events{/privacy}","received_events_url":"https://api.github.com/users/wmde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wmde/FundraisingFrontend","description":"Fundraising Frontend backend code v2 alpha","fork":false,"url":"https://api.github.com/repos/wmde/FundraisingFrontend","forks_url":"https://api.github.com/repos/wmde/FundraisingFrontend/forks","keys_url":"https://api.github.com/repos/wmde/FundraisingFrontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wmde/FundraisingFrontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wmde/FundraisingFrontend/teams","hooks_url":"https://api.github.com/repos/wmde/FundraisingFrontend/hooks","issue_events_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/events{/number}","events_url":"https://api.github.com/repos/wmde/FundraisingFrontend/events","assignees_url":"https://api.github.com/repos/wmde/FundraisingFrontend/assignees{/user}","branches_url":"https://api.github.com/repos/wmde/FundraisingFrontend/branches{/branch}","tags_url":"https://api.github.com/repos/wmde/FundraisingFrontend/tags","blobs_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wmde/FundraisingFrontend/statuses/{sha}","languages_url":"https://api.github.com/repos/wmde/FundraisingFrontend/languages","stargazers_url":"https://api.github.com/repos/wmde/FundraisingFrontend/stargazers","contributors_url":"https://api.github.com/repos/wmde/FundraisingFrontend/contributors","subscribers_url":"https://api.github.com/repos/wmde/FundraisingFrontend/subscribers","subscription_url":"https://api.github.com/repos/wmde/FundraisingFrontend/subscription","commits_url":"https://api.github.com/repos/wmde/FundraisingFrontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/wmde/FundraisingFrontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/wmde/FundraisingFrontend/contents/{+path}","compare_url":"https://api.github.com/repos/wmde/FundraisingFrontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wmde/FundraisingFrontend/merges","archive_url":"https://api.github.com/repos/wmde/FundraisingFrontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wmde/FundraisingFrontend/downloads","issues_url":"https://api.github.com/repos/wmde/FundraisingFrontend/issues{/number}","pulls_url":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls{/number}","milestones_url":"https://api.github.com/repos/wmde/FundraisingFrontend/milestones{/number}","notifications_url":"https://api.github.com/repos/wmde/FundraisingFrontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wmde/FundraisingFrontend/labels{/name}","releases_url":"https://api.github.com/repos/wmde/FundraisingFrontend/releases{/id}","deployments_url":"https://api.github.com/repos/wmde/FundraisingFrontend/deployments","created_at":"2015-09-21T14:42:43Z","updated_at":"2016-04-28T08:49:36Z","pushed_at":"2016-05-04T11:52:05Z","git_url":"git://github.com/wmde/FundraisingFrontend.git","ssh_url":"git@github.com:wmde/FundraisingFrontend.git","clone_url":"https://github.com/wmde/FundraisingFrontend.git","svn_url":"https://github.com/wmde/FundraisingFrontend","homepage":"","size":1704,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370"},"html":{"href":"https://github.com/wmde/FundraisingFrontend/pull/370"},"issue":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/370"},"comments":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/issues/370/comments"},"review_comments":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370/comments"},"review_comment":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/pulls/370/commits"},"statuses":{"href":"https://api.github.com/repos/wmde/FundraisingFrontend/statuses/c8b7f991e3c9a549d7e699f5366c9e7268eeca93"}}}}