[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Mac OS X 10.10.5
Thrown From: modular-snippets package, v0.1.2
Uncaught TypeError: Cannot read property 'startsWith' of undefined
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:1002
TypeError: Cannot read property 'startsWith' of undefined
at /Users/jankiewicz/.atom/packages/modular-snippets/index.coffee:49:22
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at TextBuffer.module.exports.TextBuffer.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1113:27)
at TextEditor.module.exports.TextEditor.saveAs (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:666:26)
at Pane.module.exports.Pane.saveItemAs (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:742:16)
at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:726:21)
at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:701:19)
at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:684:35)
at atom-workspace.commandRegistry.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:214:32)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-0:23.7.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"linter-jshint"
]
}
}
# User
atom-beautify, v0.29.10
atom-bootstrap4, v1.4.0
emmet, v2.4.3
highlight-selected, v0.11.2
jade-beautify, v0.1.5
javascript-snippets, v1.2.1
language-ejs, v0.2.0
language-pug, v0.0.17
linter, v1.11.14
linter-eslint, v7.2.4
linter-htmlhint, v1.3.0
linter-scss-lint, v3.0.4
modular-snippets, v0.1.2
personal-snippets, vundefined
pigments, v0.31.2
pretty-json, v1.4.4
react, v0.15.0
standard-formatter, v2.0.1
terminal-plus, v0.14.5
# Dev
No dev packages
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too