{"action":"created","issue":{"url":"https://api.github.com/repos/PitPik/colorPicker/issues/12","labels_url":"https://api.github.com/repos/PitPik/colorPicker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/PitPik/colorPicker/issues/12/comments","events_url":"https://api.github.com/repos/PitPik/colorPicker/issues/12/events","html_url":"https://github.com/PitPik/colorPicker/issues/12","id":56001584,"number":12,"title":"Weird bugs in jQuery implementation","user":{"login":"ct-js","id":10434215,"avatar_url":"https://avatars.githubusercontent.com/u/10434215?v=3","gravatar_id":"","url":"https://api.github.com/users/ct-js","html_url":"https://github.com/ct-js","followers_url":"https://api.github.com/users/ct-js/followers","following_url":"https://api.github.com/users/ct-js/following{/other_user}","gists_url":"https://api.github.com/users/ct-js/gists{/gist_id}","starred_url":"https://api.github.com/users/ct-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ct-js/subscriptions","organizations_url":"https://api.github.com/users/ct-js/orgs","repos_url":"https://api.github.com/users/ct-js/repos","events_url":"https://api.github.com/users/ct-js/events{/privacy}","received_events_url":"https://api.github.com/users/ct-js/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PitPik/colorPicker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-30T07:02:10Z","updated_at":"2015-01-31T11:37:11Z","closed_at":null,"body":"If I write this:\r\n\r\n    $('input.color').colorPicker();\r\n\r\ncolorPicker throws an error (Cannot read property 'customBG' of undefined (looks like it always require a config object)). If I pass any object, even\r\n\r\n    $('input.color').colorPicker({});\r\n\r\nIt throws another error (undefined is not a function). This points to function \"convertColors\", at this line (217 in colors.js file):\r\n\r\n    colors[typ] = convert[from + '2' + typ](colors[from]);\r\n\r\nWhat should we do??"},"comment":{"url":"https://api.github.com/repos/PitPik/colorPicker/issues/comments/72314430","html_url":"https://github.com/PitPik/colorPicker/issues/12#issuecomment-72314430","issue_url":"https://api.github.com/repos/PitPik/colorPicker/issues/12","id":72314430,"user":{"login":"PitPik","id":628295,"avatar_url":"https://avatars.githubusercontent.com/u/628295?v=3","gravatar_id":"","url":"https://api.github.com/users/PitPik","html_url":"https://github.com/PitPik","followers_url":"https://api.github.com/users/PitPik/followers","following_url":"https://api.github.com/users/PitPik/following{/other_user}","gists_url":"https://api.github.com/users/PitPik/gists{/gist_id}","starred_url":"https://api.github.com/users/PitPik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PitPik/subscriptions","organizations_url":"https://api.github.com/users/PitPik/orgs","repos_url":"https://api.github.com/users/PitPik/repos","events_url":"https://api.github.com/users/PitPik/events{/privacy}","received_events_url":"https://api.github.com/users/PitPik/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T11:37:10Z","updated_at":"2015-01-31T11:37:10Z","body":"... in colorPicker.js there is 5 spots where I use `.node`. It is hard to 'guess' an error if I don't see the code or at least some more error information. Maybe you can get me more information??"}}