Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught TypeError: undefined is not a function #160

Closed
stramel opened this issue Dec 12, 2014 · 6 comments · Fixed by #161
Closed

Uncaught TypeError: undefined is not a function #160

stramel opened this issue Dec 12, 2014 · 6 comments · Fixed by #161

Comments

@stramel
Copy link

stramel commented Dec 12, 2014

Uncaught TypeError: undefined is not a function

Atom Version: 0.158.0-252bef6
System: linux 3.13.0-43-generic (Ubuntu 14.04)
Thrown From: autocomplete-plus package, v0.22.6

Steps To Reproduce

  1. Open Atom

Stack Trace

At /home/stramel/.atom/packages/autocomplete-plus/lib/autocomplete.coffee:45

TypeError: undefined is not a function
  at Object.module.exports.registerProviderForEditorView (/home/stramel/.atom/packages/autocomplete-plus/lib/autocomplete.coffee:45:5)
  at /home/stramel/.atom/packages/project-palette-finder/lib/project-palette-finder.coffee:139:23
  at WorkspaceView.module.exports.WorkspaceView.eachEditorView (/usr/local/share/atom/resources/app/src/workspace-view.js:90:9)
  at /home/stramel/.atom/packages/project-palette-finder/lib/project-palette-finder.coffee:136:48

/cc @atom/core

@lovelyVector
Copy link

I am getting the same thing

@glorieux
Copy link

Same on here.

@abe33
Copy link
Contributor

abe33 commented Dec 12, 2014

I'll make sure to also update project-palette-finder at the same time.

@stramel
Copy link
Author

stramel commented Dec 12, 2014

Thanks @abe33 for quick fix!

@joefitzgerald
Copy link
Contributor

@abe33 sorry about that, the intent wasn't to break the API - we were trying to deprecate use of EditorView, but clearly missed something. Did you figure out what was undefined?

@joefitzgerald
Copy link
Contributor

I see the PR. Thanks, will get it released ASAP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants