{"action":"opened","issue":{"url":"https://api.github.com/repos/yjkony/atom-animated-cursor/issues/1","labels_url":"https://api.github.com/repos/yjkony/atom-animated-cursor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yjkony/atom-animated-cursor/issues/1/comments","events_url":"https://api.github.com/repos/yjkony/atom-animated-cursor/issues/1/events","html_url":"https://github.com/yjkony/atom-animated-cursor/issues/1","id":94478453,"number":1,"title":"Uncaught TypeError: undefined is not a function","user":{"login":"RebornMarauder","id":8760700,"avatar_url":"https://avatars.githubusercontent.com/u/8760700?v=3","gravatar_id":"","url":"https://api.github.com/users/RebornMarauder","html_url":"https://github.com/RebornMarauder","followers_url":"https://api.github.com/users/RebornMarauder/followers","following_url":"https://api.github.com/users/RebornMarauder/following{/other_user}","gists_url":"https://api.github.com/users/RebornMarauder/gists{/gist_id}","starred_url":"https://api.github.com/users/RebornMarauder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebornMarauder/subscriptions","organizations_url":"https://api.github.com/users/RebornMarauder/orgs","repos_url":"https://api.github.com/users/RebornMarauder/repos","events_url":"https://api.github.com/users/RebornMarauder/events{/privacy}","received_events_url":"https://api.github.com/users/RebornMarauder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-11T14:33:07Z","updated_at":"2015-07-11T14:33:07Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. Open a new empty tab with Ctrl+N\r\n2. Disable animated-cursor\r\n3. Switch empty tab\r\n4. Switch back to settings tab\r\n5. Enable animated-cursor\r\n6. Switch to empty tab\r\n7. Switch back to settings tab\r\n8. Change 'Animation Direction' to 'horizontal'\r\n9. Error appeared after that\r\n\r\n**Atom Version**: 1.0.2\r\n**System**: Ubuntu 15.04\r\n**Thrown From**: [animated-cursor](https://github.com/yjkony/atom-animated-cursor) package, v1.0.5\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: undefined is not a function\r\n\r\n```\r\nAt /home/szymon/.atom/packages/animated-cursor/lib/animated-cursor.coffee:39\r\n\r\nTypeError: undefined is not a function\r\n  at module.exports.AnimatedCursor.updateDirection (/home/szymon/.atom/packages/animated-cursor/lib/animated-cursor.coffee:39:17)\r\n  at /usr/share/atom/resources/app.asar/src/config.js:574:20\r\n  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at Config.module.exports.Config.emitChangeEvent (/usr/share/atom/resources/app.asar/src/config.js:736:29)\r\n  at Config.module.exports.Config.setRawValue (/usr/share/atom/resources/app.asar/src/config.js:551:19)\r\n  at Config.module.exports.Config.set (/usr/share/atom/resources/app.asar/src/config.js:233:14)\r\n  at SettingsPanel.module.exports.SettingsPanel.set (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/settings-panel.js:190:28)\r\n  at HTMLSelectElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/settings-panel.js:204:26)\r\n  at HTMLSelectElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)\r\n  at HTMLSelectElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -8:46.6.0 core:select-all (atom-text-editor.editor.mini.is-focused)\r\n     -8:43.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -7:03.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -6:59.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -6:20.3.0 core:select-all (atom-text-editor.editor.mini.is-focused)\r\n  3x -6:17.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:12.2.0 application:new-file (button.btn.icon.enablement.icon-playback-play)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {},\r\n  \"animated-cursor\": {\r\n    \"animationDirection\": \"horizontal\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nanimated-cursor, v1.0.5\r\nauto-indent, v0.5.0\r\nfile-icons, v1.5.8\r\nhex, v0.6.2\r\nhighlight-line, v0.11.0\r\nhighlight-selected, v0.10.1\r\nlanguage-x86asm, v0.5.1\r\nlinter-cpplint, v0.1.4\r\nminimap, v4.11.2\r\nminimap-color-highlight, v4.1.4\r\nminimap-highlight-selected, v4.3.0\r\nminimap-selection, v4.3.0\r\ntab-control, v0.6.7\r\nterminal-panel, v1.14.1\r\ntree-ignore, v0.2.6\r\ntree-view-breadcrumb, v0.6.1\r\ntree-view-git-projects, v0.5.0\r\ntree-view-git-status, v0.1.1\r\nwhite-cursor, v0.6.0\r\nwordcount, v2.2.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}