{"action":"created","comment":{"url":"https://api.github.com/repos/G5/orion-cms/pulls/comments/41692475","id":41692475,"diff_hunk":"@@ -1,8 +1,11 @@\n import SpectrumColorPickerComponent from 'ember-spectrum-color-picker/components/spectrum-color-picker';\n- \n+\n export default SpectrumColorPickerComponent.extend({\n   showInput: true,\n   preferredFormat: 'hex',\n+  updateDisabled: Ember.observer('disabled', function () {\n+    this.$().spectrum(this.get('disabled') ? 'disable' : 'enable');\n+  }),","path":"app/components/spectrum-color-picker.js","position":9,"original_position":9,"commit_id":"57e5baa77b51ce06e7e5a06f478e26d6ca493a2e","original_commit_id":"57e5baa77b51ce06e7e5a06f478e26d6ca493a2e","user":{"login":"thescubageek","id":5752220,"avatar_url":"https://avatars.githubusercontent.com/u/5752220?v=3","gravatar_id":"","url":"https://api.github.com/users/thescubageek","html_url":"https://github.com/thescubageek","followers_url":"https://api.github.com/users/thescubageek/followers","following_url":"https://api.github.com/users/thescubageek/following{/other_user}","gists_url":"https://api.github.com/users/thescubageek/gists{/gist_id}","starred_url":"https://api.github.com/users/thescubageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thescubageek/subscriptions","organizations_url":"https://api.github.com/users/thescubageek/orgs","repos_url":"https://api.github.com/users/thescubageek/repos","events_url":"https://api.github.com/users/thescubageek/events{/privacy}","received_events_url":"https://api.github.com/users/thescubageek/received_events","type":"User","site_admin":false},"body":"The ember-spectrum-color-picker docs (https://www.npmjs.com/package/ember-spectrum-color-picker) say that the `disabled` property supports two-way bindings, but they are full of :hankey: ..... had to add this Observer based on the original jQuery Spectrum plugin to make it work","created_at":"2015-10-10T03:24:19Z","updated_at":"2015-10-10T03:24:19Z","html_url":"https://github.com/G5/orion-cms/pull/57#discussion_r41692475","pull_request_url":"https://api.github.com/repos/G5/orion-cms/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/comments/41692475"},"html":{"href":"https://github.com/G5/orion-cms/pull/57#discussion_r41692475"},"pull_request":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/G5/orion-cms/pulls/57","id":47335831,"html_url":"https://github.com/G5/orion-cms/pull/57","diff_url":"https://github.com/G5/orion-cms/pull/57.diff","patch_url":"https://github.com/G5/orion-cms/pull/57.patch","issue_url":"https://api.github.com/repos/G5/orion-cms/issues/57","number":57,"state":"open","locked":false,"title":"Enable/disable color picker based on useCustomColors on web theme","user":{"login":"thescubageek","id":5752220,"avatar_url":"https://avatars.githubusercontent.com/u/5752220?v=3","gravatar_id":"","url":"https://api.github.com/users/thescubageek","html_url":"https://github.com/thescubageek","followers_url":"https://api.github.com/users/thescubageek/followers","following_url":"https://api.github.com/users/thescubageek/following{/other_user}","gists_url":"https://api.github.com/users/thescubageek/gists{/gist_id}","starred_url":"https://api.github.com/users/thescubageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thescubageek/subscriptions","organizations_url":"https://api.github.com/users/thescubageek/orgs","repos_url":"https://api.github.com/users/thescubageek/repos","events_url":"https://api.github.com/users/thescubageek/events{/privacy}","received_events_url":"https://api.github.com/users/thescubageek/received_events","type":"User","site_admin":false},"body":"Disable color picker on Web Themes if useCustomColors is set to false","created_at":"2015-10-10T02:49:09Z","updated_at":"2015-10-10T03:24:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d98bc3de30b8685659da907ce53f5b9d36753d35","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/G5/orion-cms/pulls/57/commits","review_comments_url":"https://api.github.com/repos/G5/orion-cms/pulls/57/comments","review_comment_url":"https://api.github.com/repos/G5/orion-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/G5/orion-cms/issues/57/comments","statuses_url":"https://api.github.com/repos/G5/orion-cms/statuses/57e5baa77b51ce06e7e5a06f478e26d6ca493a2e","head":{"label":"G5:disable-color-picker","ref":"disable-color-picker","sha":"57e5baa77b51ce06e7e5a06f478e26d6ca493a2e","user":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=3","gravatar_id":"","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"repo":{"id":29984036,"name":"orion-cms","full_name":"G5/orion-cms","owner":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=3","gravatar_id":"","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/G5/orion-cms","description":"Ember front-end for the cms.","fork":false,"url":"https://api.github.com/repos/G5/orion-cms","forks_url":"https://api.github.com/repos/G5/orion-cms/forks","keys_url":"https://api.github.com/repos/G5/orion-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/G5/orion-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/G5/orion-cms/teams","hooks_url":"https://api.github.com/repos/G5/orion-cms/hooks","issue_events_url":"https://api.github.com/repos/G5/orion-cms/issues/events{/number}","events_url":"https://api.github.com/repos/G5/orion-cms/events","assignees_url":"https://api.github.com/repos/G5/orion-cms/assignees{/user}","branches_url":"https://api.github.com/repos/G5/orion-cms/branches{/branch}","tags_url":"https://api.github.com/repos/G5/orion-cms/tags","blobs_url":"https://api.github.com/repos/G5/orion-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/G5/orion-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/G5/orion-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/G5/orion-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/G5/orion-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/G5/orion-cms/languages","stargazers_url":"https://api.github.com/repos/G5/orion-cms/stargazers","contributors_url":"https://api.github.com/repos/G5/orion-cms/contributors","subscribers_url":"https://api.github.com/repos/G5/orion-cms/subscribers","subscription_url":"https://api.github.com/repos/G5/orion-cms/subscription","commits_url":"https://api.github.com/repos/G5/orion-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/G5/orion-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/G5/orion-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/G5/orion-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/G5/orion-cms/contents/{+path}","compare_url":"https://api.github.com/repos/G5/orion-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/G5/orion-cms/merges","archive_url":"https://api.github.com/repos/G5/orion-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/G5/orion-cms/downloads","issues_url":"https://api.github.com/repos/G5/orion-cms/issues{/number}","pulls_url":"https://api.github.com/repos/G5/orion-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/G5/orion-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/G5/orion-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/G5/orion-cms/labels{/name}","releases_url":"https://api.github.com/repos/G5/orion-cms/releases{/id}","created_at":"2015-01-28T19:23:32Z","updated_at":"2015-10-05T22:08:24Z","pushed_at":"2015-10-10T03:22:19Z","git_url":"git://github.com/G5/orion-cms.git","ssh_url":"git@github.com:G5/orion-cms.git","clone_url":"https://github.com/G5/orion-cms.git","svn_url":"https://github.com/G5/orion-cms","homepage":null,"size":2484,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"G5:master","ref":"master","sha":"efd816c002a6233b5aea3de007697a2c2c9da8ba","user":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=3","gravatar_id":"","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"repo":{"id":29984036,"name":"orion-cms","full_name":"G5/orion-cms","owner":{"login":"G5","id":2396851,"avatar_url":"https://avatars.githubusercontent.com/u/2396851?v=3","gravatar_id":"","url":"https://api.github.com/users/G5","html_url":"https://github.com/G5","followers_url":"https://api.github.com/users/G5/followers","following_url":"https://api.github.com/users/G5/following{/other_user}","gists_url":"https://api.github.com/users/G5/gists{/gist_id}","starred_url":"https://api.github.com/users/G5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/G5/subscriptions","organizations_url":"https://api.github.com/users/G5/orgs","repos_url":"https://api.github.com/users/G5/repos","events_url":"https://api.github.com/users/G5/events{/privacy}","received_events_url":"https://api.github.com/users/G5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/G5/orion-cms","description":"Ember front-end for the cms.","fork":false,"url":"https://api.github.com/repos/G5/orion-cms","forks_url":"https://api.github.com/repos/G5/orion-cms/forks","keys_url":"https://api.github.com/repos/G5/orion-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/G5/orion-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/G5/orion-cms/teams","hooks_url":"https://api.github.com/repos/G5/orion-cms/hooks","issue_events_url":"https://api.github.com/repos/G5/orion-cms/issues/events{/number}","events_url":"https://api.github.com/repos/G5/orion-cms/events","assignees_url":"https://api.github.com/repos/G5/orion-cms/assignees{/user}","branches_url":"https://api.github.com/repos/G5/orion-cms/branches{/branch}","tags_url":"https://api.github.com/repos/G5/orion-cms/tags","blobs_url":"https://api.github.com/repos/G5/orion-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/G5/orion-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/G5/orion-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/G5/orion-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/G5/orion-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/G5/orion-cms/languages","stargazers_url":"https://api.github.com/repos/G5/orion-cms/stargazers","contributors_url":"https://api.github.com/repos/G5/orion-cms/contributors","subscribers_url":"https://api.github.com/repos/G5/orion-cms/subscribers","subscription_url":"https://api.github.com/repos/G5/orion-cms/subscription","commits_url":"https://api.github.com/repos/G5/orion-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/G5/orion-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/G5/orion-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/G5/orion-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/G5/orion-cms/contents/{+path}","compare_url":"https://api.github.com/repos/G5/orion-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/G5/orion-cms/merges","archive_url":"https://api.github.com/repos/G5/orion-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/G5/orion-cms/downloads","issues_url":"https://api.github.com/repos/G5/orion-cms/issues{/number}","pulls_url":"https://api.github.com/repos/G5/orion-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/G5/orion-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/G5/orion-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/G5/orion-cms/labels{/name}","releases_url":"https://api.github.com/repos/G5/orion-cms/releases{/id}","created_at":"2015-01-28T19:23:32Z","updated_at":"2015-10-05T22:08:24Z","pushed_at":"2015-10-10T03:22:19Z","git_url":"git://github.com/G5/orion-cms.git","ssh_url":"git@github.com:G5/orion-cms.git","clone_url":"https://github.com/G5/orion-cms.git","svn_url":"https://github.com/G5/orion-cms","homepage":null,"size":2484,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/57"},"html":{"href":"https://github.com/G5/orion-cms/pull/57"},"issue":{"href":"https://api.github.com/repos/G5/orion-cms/issues/57"},"comments":{"href":"https://api.github.com/repos/G5/orion-cms/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/G5/orion-cms/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/G5/orion-cms/statuses/57e5baa77b51ce06e7e5a06f478e26d6ca493a2e"}}}}