Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: undefined is not a function #368

Closed
ghost opened this issue Jul 24, 2015 · 1 comment
Closed

TypeError: undefined is not a function #368

ghost opened this issue Jul 24, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 24, 2015

Hi, I keep having this errors (on open, on save...):
Atom says its same as #364 but it doesn't seem so...
Strange thing is this worked fine for the first few hours after I installed it?

[Enter steps to reproduce below:]

  1. ... open any file
  2. ... or save any file

Atom Version: 1.0.2
System: Microsoft Windows 7 Home Premium
Thrown From: minimap package, v4.12.0

Stack Trace

Uncaught TypeError: undefined is not a function

At C:\Users\Joe\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\underscore-plus\lib\underscore-plus.js:189

TypeError: undefined is not a function
    at Object.plus.escapeRegExp (C:\Users\Joe\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\underscore-plus\lib\underscore-plus.js:189:23)
    at atom-text-editor-minimap.module.exports.CanvasDrawer.getInvisibleRegExp (C:\Users\Joe\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:165:31)
    at atom-text-editor-minimap.module.exports.CanvasDrawer.drawLines (C:\Users\Joe\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:107:30)
    at atom-text-editor-minimap.module.exports.CanvasDrawer.updateCanvas (C:\Users\Joe\.atom\packages\minimap\lib\mixins\canvas-drawer.coffee:38:14)
    at atom-text-editor-minimap.MinimapElement.update (C:\Users\Joe\.atom\packages\minimap\lib\minimap-element.coffee:400:19)
    at C:\Users\Joe\.atom\packages\minimap\lib\minimap-element.coffee:344:17

Commands

Config

{
  "core": {
    "disabledPackages": [
      "bracket-matcher",
      "indent-guide-ext",
      "indent-guide-improved",
      "language-javascript-better",
      "spell-check",
      "autocomplete-css",
      "autocomplete-html",
      "emmet",
      "language-babel",
      "jshint",
      "altgr",
      "keyboard-localization"
    ]
  },
  "minimap": {}
}

Installed Packages

# User
.bin, vundefined
color-picker, v2.0.11
highlight-selected, v0.10.1
linter, v1.2.4
minimap, v4.12.0
project-manager, v1.15.11
tabs-to-spaces, v0.11.0

# Dev
No dev packages
@abe33
Copy link
Contributor

abe33 commented Jul 27, 2015

Hi @joseroux, it looks like some invisible chars aren't substitued properly, I'm not sure why you started getting that error, but I'll have a fix published soon.

@abe33 abe33 closed this as completed in ee63370 Jul 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant