{"action":"created","issue":{"url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/114","labels_url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/114/comments","events_url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/114/events","html_url":"https://github.com/thomaslindstrom/color-picker/issues/114","id":89192090,"number":114,"title":"Uncaught SyntaxError: Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('...","user":{"login":"chcamp","id":9563600,"avatar_url":"https://avatars.githubusercontent.com/u/9563600?v=3","gravatar_id":"","url":"https://api.github.com/users/chcamp","html_url":"https://github.com/chcamp","followers_url":"https://api.github.com/users/chcamp/followers","following_url":"https://api.github.com/users/chcamp/following{/other_user}","gists_url":"https://api.github.com/users/chcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/chcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chcamp/subscriptions","organizations_url":"https://api.github.com/users/chcamp/orgs","repos_url":"https://api.github.com/users/chcamp/repos","events_url":"https://api.github.com/users/chcamp/events{/privacy}","received_events_url":"https://api.github.com/users/chcamp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thomaslindstrom/color-picker/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/thomaslindstrom/color-picker/labels/help%20wanted","name":"help wanted","color":"7419e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-06-18T04:09:00Z","updated_at":"2015-10-07T07:12:39Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.210.0\r\n**System**: Unknown Windows Version\r\n**Thrown From**: [color-picker](https://github.com/thomaslindstrom/color-picker) package, v2.0.5\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught SyntaxError: Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('rgba(-Infinity, NaN, Infinity, 1)') could not be parsed as a color.\r\n\r\n```\r\nAt C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Alpha.coffee:100\r\n\r\nError: Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('rgba(-Infinity, NaN, Infinity, 1)') could not be parsed as a color.\r\n  at Error (native)\r\n  at Object._this.canvas.render (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Alpha.coffee:100:35)\r\n  at C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Alpha.coffee:109:29\r\n  at Object.emit (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\modules\\Emitter.coffee:11:23)\r\n  at Object.emitColorChanged (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Saturation.coffee:24:22)\r\n  at C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Saturation.coffee:197:61\r\n  at Object.emit (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\modules\\Emitter.coffee:11:23)\r\n  at Object.emitSelectionChanged (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Saturation.coffee:18:22)\r\n  at Object._this.control.setSelection (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Saturation.coffee:186:43)\r\n  at C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\extensions\\Saturation.coffee:194:30\r\n  at Object.emit (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\modules\\Emitter.coffee:11:23)\r\n  at Object.emitInputColor (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\ColorPicker-view.coffee:232:22)\r\n  at Object.open (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\ColorPicker-view.coffee:322:18)\r\n  at atom-text-editor.<anonymous> (C:\\Users\\Christian\\.atom\\packages\\color-picker\\lib\\ColorPicker.coffee:42:68)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\Christian\\AppData\\Local\\atom\\app-0.210.0\\resources\\app.asar\\src\\command-registry.js:238:29)\r\n  at C:\\Users\\Christian\\AppData\\Local\\atom\\app-0.210.0\\resources\\app.asar\\src\\command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\Christian\\AppData\\Local\\atom\\app-0.210.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:520:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\Christian\\AppData\\Local\\atom\\app-0.210.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:355:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\\Users\\Christian\\AppData\\Local\\atom\\app-0.210.0\\resources\\app.asar\\src\\window-event-handler.js:180:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:06.2.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)\r\n     -2:01.7.0 color-picker:open (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -1:50.4.0 command-palette:toggle (atom-text-editor.editor.is-focused.autocomplete-active)\r\n     -1:48.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -1:48.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -1:38.1.0 colorpicker:toggle (atom-text-editor.editor.autocomplete-active.is-focused)\r\n     -1:34.7.0 command-palette:toggle (atom-text-editor.editor.autocomplete-active.is-focused)\r\n     -1:25.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -1:25.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n  3x -1:23.5.0 color-picker:open (atom-text-editor.editor.autocomplete-active.is-focused)\r\n     -1:17.6.0 editor:copy-path (atom-text-editor.editor.is-focused)\r\n     -1:16.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n  3x -1:13.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -1:03.6.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)\r\n     -1:03.6.0 core:cancel (atom-text-editor.editor.mini.is-focused)\r\n     -0:17.5.0 color-picker:open (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"colorpicker\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-html-preview, v0.1.8\r\ncolor-picker, v2.0.5\r\nemmet, v2.3.10\r\nlanguage-html5-subtlegradient, v0.1.0\r\nlocal-server-express, v0.3.1\r\nproject-manager, v1.15.10\r\nrun-in-browser, v0.1.3\r\nsave-session, v0.15.5\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/comments/146098101","html_url":"https://github.com/thomaslindstrom/color-picker/issues/114#issuecomment-146098101","issue_url":"https://api.github.com/repos/thomaslindstrom/color-picker/issues/114","id":146098101,"user":{"login":"Jir4","id":717155,"avatar_url":"https://avatars.githubusercontent.com/u/717155?v=3","gravatar_id":"","url":"https://api.github.com/users/Jir4","html_url":"https://github.com/Jir4","followers_url":"https://api.github.com/users/Jir4/followers","following_url":"https://api.github.com/users/Jir4/following{/other_user}","gists_url":"https://api.github.com/users/Jir4/gists{/gist_id}","starred_url":"https://api.github.com/users/Jir4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jir4/subscriptions","organizations_url":"https://api.github.com/users/Jir4/orgs","repos_url":"https://api.github.com/users/Jir4/repos","events_url":"https://api.github.com/users/Jir4/events{/privacy}","received_events_url":"https://api.github.com/users/Jir4/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T07:12:39Z","updated_at":"2015-10-07T07:12:39Z","body":"Unable to reproduce since i restart atom :/"}}