ericcornelissen / pinned-tabs-for-atom

A package for the Atom text editor that allows you to pin tabs
https://atom.io/packages/pinned-tabs
MIT License
18 stars 3 forks source link

Uncaught TypeError: Cannot read property 'data' of undefined #1

Closed gpryce-medullan closed 8 years ago

gpryce-medullan commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.3.2 System: Mac OS X 10.10.5 Thrown From: pinned-tabs package, v0.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'data' of undefined

At /Users/garwinpryce/.atom/packages/pinned-tabs/lib/pinned-tabs.coffee:31

TypeError: Cannot read property 'data' of undefined
    at callback (/Users/garwinpryce/.atom/packages/pinned-tabs/lib/pinned-tabs.coffee:31:22)

Commands

     -7:54.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui.find-visible)
     -3:51.6.0 git-control:toggle (atom-text-editor.editor.is-focused)
     -1:21.8.0 tabs:close-other-tabs (li.tab.sortable.active.right-clicked)
     -0:11.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:11.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "hide-tree",
      "autohide-tree-view",
      "build-grunt",
      "tree-view-breadcrumb",
      "tree-view-filter",
      "atom-json-editor"
    ]
  }
}

Installed Packages

# User
angularjs, v0.3.3
angularjs-snippets, v0.10.18
atom-ternjs, v0.12.1
atom-yeoman, v0.3.15
auto-fold, v0.2.0
autocomplete-angular-material, v0.4.0
autocomplete-paths, v1.0.2
build, v0.51.0
build-npm-apm, v0.6.0
git-control, v0.4.0
grunt-runner, v0.11.0
last-cursor-position, v0.9.0
minimap, v4.18.4
minimap-git-diff, v4.1.8
minimap-hide, v0.3.0
minimap-highlight-selected, v4.3.1
pinned-tabs, v0.1.1
terminal-plus, v0.14.5
tree-view-git-branch, v0.0.6
tree-view-git-status, v0.2.2

# Dev
No dev packages
ericcornelissen commented 8 years ago

Fixed the problem in this commit. The fix is also published to apm.

gpryce-medullan commented 8 years ago

Thanks.