Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Uncaught TypeError: undefined is not a function #19

@Hades32

Description

@Hades32

[Enter steps to reproduce below:]

  1. Just run ElixirCmd: doc
  2. crash

Atom Version: 1.0.2
System: WIN-SJ0A7GO32DV
Thrown From: elixir-cmd package, v0.2.9

Stack Trace

Uncaught TypeError: undefined is not a function

At C:\Users\marti\.atom\packages\elixir-cmd\lib\elixir-cmd-view.coffee:99

TypeError: undefined is not a function
  at ElixirCmdView.module.exports.ElixirCmdView.keywordGet (C:\Users\marti\.atom\packages\elixir-cmd\lib\elixir-cmd-view.coffee:99:32)
  at ElixirCmdView.module.exports.ElixirCmdView.keywordDocumentation (C:\Users\marti\.atom\packages\elixir-cmd\lib\elixir-cmd-view.coffee:80:19)
  at atom-workspace.atom.commands.add.elixir-cmd:doc (C:\Users\marti\.atom\packages\elixir-cmd\lib\elixir-cmd-view.coffee:57:29)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\command-palette\lib\command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (C:\Users\marti\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-div.atom.commands.add.core:confirm (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-space-pen-views\lib\select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\marti\AppData\Local\atom\app-1.0.2\resources\app.asar\src\window-event-handler.js:177:20)

Commands

  2x -0:49.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:30.4.0 ctrl-last-tab:next (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -0:25 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
  3x -0:24.2.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:22.6.0 clipboard-history:copy (atom-text-editor.editor.is-focused)
     -0:21.9.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:21.1.0 core:select-up (atom-text-editor.editor.is-focused)
     -0:20.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:19.4.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:14.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:14.5.0 elixir-cmd:doc (atom-text-editor.editor)
  6x -0:11.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
  3x -0:10.7.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -0:08.2.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:02.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:02.6.0 elixir-cmd:doc (atom-text-editor.editor)

Config

{
  "core": {
    "disabledPackages": [
      "tab-switcher"
    ]
  }
}

Installed Packages

# User
autocomplete-elixir, v1.3.12
clipboard-history, v0.6.6
ctrl-last-tab, v0.2.0
elixir-cmd, v0.2.9
highlight-selected, v0.10.1
keyboard-localization, v1.4.3
language-elixir, v0.5.1
linter, v1.2.4
linter-elixirc, v0.2.2

# Dev
No dev packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions