abe33 / minimap-pigments

An Atom plugin to display pigments colors in the Minimap
MIT License
15 stars 6 forks source link

Uncaught TypeError: Cannot read property 'onDidDestroy' of undefined #3

Open p-kien opened 8 years ago

p-kien commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.5.3 System: Mac OS X 10.10.5 Thrown From: minimap-pigments package, v0.1.7

Stack Trace

Uncaught TypeError: Cannot read property 'onDidDestroy' of undefined

At /Users/kienphan/.atom/packages/minimap-pigments/lib/minimap-pigments-binding.coffee:31

TypeError: Cannot read property 'onDidDestroy' of undefined
    at MinimapPigmentsBinding.module.exports.MinimapPigmentsBinding.updateMarkers (/Users/kienphan/.atom/packages/minimap-pigments/lib/minimap-pigments-binding.coffee:31:50)
    at /Users/kienphan/.atom/packages/minimap-pigments/lib/minimap-pigments-binding.coffee:15:8
    at Function.module.exports.Emitter.simpleDispatch (/Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at TokenizedBuffer.module.exports.TokenizedBuffer.markTokenizationComplete (/Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:345:22)
    at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:339:21)
    at /Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:288:26
    at /Users/kienphan/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47

Commands

     -9:37.6.0 core:save (atom-text-editor.editor.is-focused)
     -9:28.7.0 core:paste (atom-text-editor.editor.is-focused)
  2x -9:28 core:save (atom-text-editor.editor.is-focused)
     -9:20.1.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -9:19.1.0 core:save (atom-text-editor.editor.is-focused)
     -6:34.6.0 find-and-replace:show (atom-text-editor.editor.is-focused)
  3x -6:31.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -6:26.9.0 project-find:show (atom-text-editor.editor.mini.is-focused)
     -6:20.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:04.1.0 project-find:show (atom-text-editor.editor.is-focused)
     -2:59.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:29.5.0 core:copy (atom-text-editor.editor.is-focused)
     -1:20.8.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -1:20.3.0 core:save (atom-text-editor.editor.is-focused)
     -1:17.6.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
  4x -1:17 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-material-ui, v0.6.2
minimap, v4.16.0
minimap-git-diff, v4.1.8
minimap-highlight-selected, v4.3.1
minimap-pigments, v0.1.7
pigments, v0.24.1
pretty-json, v0.4.1
project-manager, v2.6.5
symbols-tree-view, v0.11.0
terminal-plus, v0.14.5

# Dev
No dev packages