{"action":"closed","issue":{"url":"https://api.github.com/repos/mark-hahn/markdown-scroll-sync/issues/45","repository_url":"https://api.github.com/repos/mark-hahn/markdown-scroll-sync","labels_url":"https://api.github.com/repos/mark-hahn/markdown-scroll-sync/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/mark-hahn/markdown-scroll-sync/issues/45/comments","events_url":"https://api.github.com/repos/mark-hahn/markdown-scroll-sync/issues/45/events","html_url":"https://github.com/mark-hahn/markdown-scroll-sync/issues/45","id":132287676,"number":45,"title":"Uncaught TypeError: Cannot read property 'split' of undefined","user":{"login":"edrubin","id":6801166,"avatar_url":"https://avatars.githubusercontent.com/u/6801166?v=3","gravatar_id":"","url":"https://api.github.com/users/edrubin","html_url":"https://github.com/edrubin","followers_url":"https://api.github.com/users/edrubin/followers","following_url":"https://api.github.com/users/edrubin/following{/other_user}","gists_url":"https://api.github.com/users/edrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/edrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edrubin/subscriptions","organizations_url":"https://api.github.com/users/edrubin/orgs","repos_url":"https://api.github.com/users/edrubin/repos","events_url":"https://api.github.com/users/edrubin/events{/privacy}","received_events_url":"https://api.github.com/users/edrubin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-08T23:33:29Z","updated_at":"2016-02-15T22:43:47Z","closed_at":"2016-02-15T22:43:47Z","body":"[Enter steps to reproduce below:]\r\n\r\n1. Open Atom\r\n2. Create new file\r\n\r\n**Atom Version**: 1.4.3\r\n**System**: Mac OS X 10.11.3\r\n**Thrown From**: [markdown-scroll-sync](https://github.com/mark-hahn/markdown-scroll-sync) package, v2.1.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'split' of undefined\r\n\r\n```\r\nAt /Users/edwardarubin/.atom/packages/markdown-scroll-sync/lib/main.coffee:29\r\n\r\nTypeError: Cannot read property 'split' of undefined\r\n    at isMarkdown (/Users/edwardarubin/.atom/packages/markdown-scroll-sync/lib/main.coffee:29:46)\r\n    at /Users/edwardarubin/.atom/packages/markdown-scroll-sync/lib/main.coffee:33:10\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:333:27\r\n    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)\r\n    at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:316:21)\r\n    at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:310:19)\r\n    at Pane.module.exports.Pane.activateNextItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:267:21)\r\n    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:389:16)\r\n    at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:453:16)\r\n    at Pane.module.exports.Pane.destroyActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:433:12)\r\n    at Workspace.module.exports.Workspace.destroyActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:656:35)\r\n    at Workspace.module.exports.Workspace.closeActivePaneItemOrEmptyPaneOrWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:695:21)\r\n    at atom-workspace.commandRegistry.add.core:close (/Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:170:32)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)\r\n    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:07.7.0 application:new-file (atom-pane.pane.active)\r\n  3x -0:02.6.0 core:close (atom-pane.pane.active)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"language-markdown\",\r\n      \"markdown-preview\",\r\n      \"block-cursor\",\r\n      \"terminal-plus\",\r\n      \"antialiased\",\r\n      \"omni-ruler\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \".git\",\r\n      \".svn\",\r\n      \".DS_Store\"\r\n    ],\r\n    \"openEmptyEditorOnStart\": false,\r\n    \"packagesWithKeymapsDisabled\": [\r\n      \"mathjax-wrapper\"\r\n    ],\r\n    \"themes\": [\r\n      \"native-ui\",\r\n      \"proton-kai\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nSublime-Style-Column-Selection, v1.5.1\r\natom-clock, v0.0.6\r\nautocomplete-python, v1.6.1\r\ncolor-picker, v2.1.1\r\ncursor-blink-interval, v0.3.1\r\ncursor-indicator, v1.2.7\r\nfile-icons, v1.6.14\r\nhighlight-selected, v0.11.2\r\nink, v0.3.2\r\nlanguage-julia, v0.5.0\r\nlanguage-latex, v0.6.1\r\nlanguage-r, v0.4.0\r\nlanguage-stata, v0.1.0\r\nlatex, v0.29.0\r\nlatextools, v0.7.6\r\nmarkdown-preview-plus, v2.2.2\r\nmarkdown-scroll-sync, v2.1.1\r\nminimap, v4.19.0\r\nminimap-cursorline, v0.1.0\r\nnative-ui, v0.17.0\r\npdf-view, v0.39.0\r\npigments, v0.23.1\r\nproton-kai, v0.1.0\r\nwordcount, v2.6.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"}}