{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/zumba/swiveljs/pulls/11","id":183615085,"html_url":"https://github.com/zumba/swiveljs/pull/11","diff_url":"https://github.com/zumba/swiveljs/pull/11.diff","patch_url":"https://github.com/zumba/swiveljs/pull/11.patch","issue_url":"https://api.github.com/repos/zumba/swiveljs/issues/11","number":11,"state":"open","locked":false,"title":"[Breaking changes] Added returnValue method and required callable for some methods","user":{"login":"ZurabWeb","id":12236085,"avatar_url":"https://avatars0.githubusercontent.com/u/12236085?v=4","gravatar_id":"","url":"https://api.github.com/users/ZurabWeb","html_url":"https://github.com/ZurabWeb","followers_url":"https://api.github.com/users/ZurabWeb/followers","following_url":"https://api.github.com/users/ZurabWeb/following{/other_user}","gists_url":"https://api.github.com/users/ZurabWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/ZurabWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZurabWeb/subscriptions","organizations_url":"https://api.github.com/users/ZurabWeb/orgs","repos_url":"https://api.github.com/users/ZurabWeb/repos","events_url":"https://api.github.com/users/ZurabWeb/events{/privacy}","received_events_url":"https://api.github.com/users/ZurabWeb/received_events","type":"User","site_admin":false},"body":"This PR introduces breaking changes.\r\n\r\nIt ports PHP functionality from [this PR](https://github.com/zumba/swivel/pull/25) into the SwivelJS library.\r\n\r\nAs a result of these changes `Builder::addBehavior`, `Builder::defaultBehavior`, and `Manager::invoke` will throw exceptions when non-callable values are passed in.\r\n\r\nThis PR also implements `Builder::addValue`, `Builder::defaultValue`, `Manager::returnValue` just like its PHP twin.\r\n\r\nAlso bringing the dev dependencies up to date and making ES6 standard the default for JSHint.","created_at":"2018-04-24T04:01:37Z","updated_at":"2018-04-24T04:01:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zumba/swiveljs/pulls/11/commits","review_comments_url":"https://api.github.com/repos/zumba/swiveljs/pulls/11/comments","review_comment_url":"https://api.github.com/repos/zumba/swiveljs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zumba/swiveljs/issues/11/comments","statuses_url":"https://api.github.com/repos/zumba/swiveljs/statuses/79c5df5542b8cbd04de86bfa96aed62475e6d676","head":{"label":"ZurabWeb:swiveljs-returnvalue","ref":"swiveljs-returnvalue","sha":"79c5df5542b8cbd04de86bfa96aed62475e6d676","user":{"login":"ZurabWeb","id":12236085,"avatar_url":"https://avatars0.githubusercontent.com/u/12236085?v=4","gravatar_id":"","url":"https://api.github.com/users/ZurabWeb","html_url":"https://github.com/ZurabWeb","followers_url":"https://api.github.com/users/ZurabWeb/followers","following_url":"https://api.github.com/users/ZurabWeb/following{/other_user}","gists_url":"https://api.github.com/users/ZurabWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/ZurabWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZurabWeb/subscriptions","organizations_url":"https://api.github.com/users/ZurabWeb/orgs","repos_url":"https://api.github.com/users/ZurabWeb/repos","events_url":"https://api.github.com/users/ZurabWeb/events{/privacy}","received_events_url":"https://api.github.com/users/ZurabWeb/received_events","type":"User","site_admin":false},"repo":{"id":130792352,"name":"swiveljs","full_name":"ZurabWeb/swiveljs","owner":{"login":"ZurabWeb","id":12236085,"avatar_url":"https://avatars0.githubusercontent.com/u/12236085?v=4","gravatar_id":"","url":"https://api.github.com/users/ZurabWeb","html_url":"https://github.com/ZurabWeb","followers_url":"https://api.github.com/users/ZurabWeb/followers","following_url":"https://api.github.com/users/ZurabWeb/following{/other_user}","gists_url":"https://api.github.com/users/ZurabWeb/gists{/gist_id}","starred_url":"https://api.github.com/users/ZurabWeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZurabWeb/subscriptions","organizations_url":"https://api.github.com/users/ZurabWeb/orgs","repos_url":"https://api.github.com/users/ZurabWeb/repos","events_url":"https://api.github.com/users/ZurabWeb/events{/privacy}","received_events_url":"https://api.github.com/users/ZurabWeb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZurabWeb/swiveljs","description":"Strategy driven, segmented feature toggles for Javascript","fork":true,"url":"https://api.github.com/repos/ZurabWeb/swiveljs","forks_url":"https://api.github.com/repos/ZurabWeb/swiveljs/forks","keys_url":"https://api.github.com/repos/ZurabWeb/swiveljs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZurabWeb/swiveljs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZurabWeb/swiveljs/teams","hooks_url":"https://api.github.com/repos/ZurabWeb/swiveljs/hooks","issue_events_url":"https://api.github.com/repos/ZurabWeb/swiveljs/issues/events{/number}","events_url":"https://api.github.com/repos/ZurabWeb/swiveljs/events","assignees_url":"https://api.github.com/repos/ZurabWeb/swiveljs/assignees{/user}","branches_url":"https://api.github.com/repos/ZurabWeb/swiveljs/branches{/branch}","tags_url":"https://api.github.com/repos/ZurabWeb/swiveljs/tags","blobs_url":"https://api.github.com/repos/ZurabWeb/swiveljs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZurabWeb/swiveljs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZurabWeb/swiveljs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZurabWeb/swiveljs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZurabWeb/swiveljs/statuses/{sha}","languages_url":"https://api.github.com/repos/ZurabWeb/swiveljs/languages","stargazers_url":"https://api.github.com/repos/ZurabWeb/swiveljs/stargazers","contributors_url":"https://api.github.com/repos/ZurabWeb/swiveljs/contributors","subscribers_url":"https://api.github.com/repos/ZurabWeb/swiveljs/subscribers","subscription_url":"https://api.github.com/repos/ZurabWeb/swiveljs/subscription","commits_url":"https://api.github.com/repos/ZurabWeb/swiveljs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZurabWeb/swiveljs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZurabWeb/swiveljs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZurabWeb/swiveljs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZurabWeb/swiveljs/contents/{+path}","compare_url":"https://api.github.com/repos/ZurabWeb/swiveljs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZurabWeb/swiveljs/merges","archive_url":"https://api.github.com/repos/ZurabWeb/swiveljs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZurabWeb/swiveljs/downloads","issues_url":"https://api.github.com/repos/ZurabWeb/swiveljs/issues{/number}","pulls_url":"https://api.github.com/repos/ZurabWeb/swiveljs/pulls{/number}","milestones_url":"https://api.github.com/repos/ZurabWeb/swiveljs/milestones{/number}","notifications_url":"https://api.github.com/repos/ZurabWeb/swiveljs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZurabWeb/swiveljs/labels{/name}","releases_url":"https://api.github.com/repos/ZurabWeb/swiveljs/releases{/id}","deployments_url":"https://api.github.com/repos/ZurabWeb/swiveljs/deployments","created_at":"2018-04-24T03:41:30Z","updated_at":"2018-04-24T03:41:32Z","pushed_at":"2018-04-24T03:53:32Z","git_url":"git://github.com/ZurabWeb/swiveljs.git","ssh_url":"git@github.com:ZurabWeb/swiveljs.git","clone_url":"https://github.com/ZurabWeb/swiveljs.git","svn_url":"https://github.com/ZurabWeb/swiveljs","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zumba:master","ref":"master","sha":"ee4a3eaaa4b80f4a5957f2fdbc9f58fb4065bad1","user":{"login":"zumba","id":67415,"avatar_url":"https://avatars3.githubusercontent.com/u/67415?v=4","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"repo":{"id":34809540,"name":"swiveljs","full_name":"zumba/swiveljs","owner":{"login":"zumba","id":67415,"avatar_url":"https://avatars3.githubusercontent.com/u/67415?v=4","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zumba/swiveljs","description":"Strategy driven, segmented feature toggles for Javascript","fork":false,"url":"https://api.github.com/repos/zumba/swiveljs","forks_url":"https://api.github.com/repos/zumba/swiveljs/forks","keys_url":"https://api.github.com/repos/zumba/swiveljs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zumba/swiveljs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zumba/swiveljs/teams","hooks_url":"https://api.github.com/repos/zumba/swiveljs/hooks","issue_events_url":"https://api.github.com/repos/zumba/swiveljs/issues/events{/number}","events_url":"https://api.github.com/repos/zumba/swiveljs/events","assignees_url":"https://api.github.com/repos/zumba/swiveljs/assignees{/user}","branches_url":"https://api.github.com/repos/zumba/swiveljs/branches{/branch}","tags_url":"https://api.github.com/repos/zumba/swiveljs/tags","blobs_url":"https://api.github.com/repos/zumba/swiveljs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zumba/swiveljs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zumba/swiveljs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zumba/swiveljs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zumba/swiveljs/statuses/{sha}","languages_url":"https://api.github.com/repos/zumba/swiveljs/languages","stargazers_url":"https://api.github.com/repos/zumba/swiveljs/stargazers","contributors_url":"https://api.github.com/repos/zumba/swiveljs/contributors","subscribers_url":"https://api.github.com/repos/zumba/swiveljs/subscribers","subscription_url":"https://api.github.com/repos/zumba/swiveljs/subscription","commits_url":"https://api.github.com/repos/zumba/swiveljs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zumba/swiveljs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zumba/swiveljs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zumba/swiveljs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zumba/swiveljs/contents/{+path}","compare_url":"https://api.github.com/repos/zumba/swiveljs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zumba/swiveljs/merges","archive_url":"https://api.github.com/repos/zumba/swiveljs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zumba/swiveljs/downloads","issues_url":"https://api.github.com/repos/zumba/swiveljs/issues{/number}","pulls_url":"https://api.github.com/repos/zumba/swiveljs/pulls{/number}","milestones_url":"https://api.github.com/repos/zumba/swiveljs/milestones{/number}","notifications_url":"https://api.github.com/repos/zumba/swiveljs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zumba/swiveljs/labels{/name}","releases_url":"https://api.github.com/repos/zumba/swiveljs/releases{/id}","deployments_url":"https://api.github.com/repos/zumba/swiveljs/deployments","created_at":"2015-04-29T18:00:29Z","updated_at":"2016-09-13T08:53:34Z","pushed_at":"2016-02-12T18:37:59Z","git_url":"git://github.com/zumba/swiveljs.git","ssh_url":"git@github.com:zumba/swiveljs.git","clone_url":"https://github.com/zumba/swiveljs.git","svn_url":"https://github.com/zumba/swiveljs","homepage":null,"size":49,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zumba/swiveljs/pulls/11"},"html":{"href":"https://github.com/zumba/swiveljs/pull/11"},"issue":{"href":"https://api.github.com/repos/zumba/swiveljs/issues/11"},"comments":{"href":"https://api.github.com/repos/zumba/swiveljs/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/zumba/swiveljs/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/zumba/swiveljs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zumba/swiveljs/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/zumba/swiveljs/statuses/79c5df5542b8cbd04de86bfa96aed62475e6d676"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":2185,"deletions":177,"changed_files":11}}
{"actor":{"display_login":"ZurabWeb"}}