cdnjs / atom-extension

⚛ Atom extension for easily inserting scripts
https://atom.io/packages/cdnjs
MIT License
32 stars 12 forks source link

Uncaught TypeError: Cannot read property 'insertText' of undefined #16

Open freull opened 9 years ago

freull commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2 System: Unknown Windows Version Thrown From: cdnjs package, v1.5.0

Stack Trace

Uncaught TypeError: Cannot read property 'insertText' of undefined

At C:\Users\keffa\.atom\packages\cdnjs\lib\cdnjs-view.coffee:142

TypeError: Cannot read property 'insertText' of undefined
    at CdnjsView.module.exports.CdnjsView.confirmed (C:\Users\keffa\.atom\packages\cdnjs\lib\cdnjs-view.coffee:194:17)
    at CdnjsView.module.exports.SelectListView.confirmSelection (C:\Users\keffa\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:338:21)
    at space-pen-li.<anonymous> (C:\Users\keffa\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:139:19)
    at HTMLOListElement.jQuery.event.dispatch (C:\Users\keffa\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLOListElement.elemData.handle (C:\Users\keffa\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -1:20.2.0 settings-view:uninstall-packages (atom-text-editor.editor.is-focused)
     -1:09.5.0 command-palette:toggle (div.settings-view.pane-item)
     -1:04.3.0 cdnjs:GetUrl (div.settings-view.pane-item)
     -0:08.1.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {}
}

Installed Packages

# User
cdnjs, v1.5.0

# Dev
No dev packages