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

Uncaught TypeError: e.text.localeCompare is not a function #521

Open
fredargoud opened this issue Dec 17, 2018 · 0 comments
Open

Uncaught TypeError: e.text.localeCompare is not a function #521

fredargoud opened this issue Dec 17, 2018 · 0 comments

Comments

@fredargoud
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Mac OS X 10.13.6
Thrown From: language-babel package 2.85.0

Stack Trace

Uncaught TypeError: e.text.localeCompare is not a function

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11

TypeError: e.text.localeCompare is not a function
    at i (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:658095)
    at Array.sort (native)
    at SnippetsProvider.findSuggestionsForPrefix (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:657956)
    at SnippetsProvider.getSuggestions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:657550)
    at n.forEach.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:647382)
    at Array.forEach (<anonymous>)
    at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:646898)
    at AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:646636)
    at AutocompleteManager.requestNewSuggestions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:655166)
    at AutocompleteManager.showOrHideSuggestionListForBufferChanges (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:656257)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1190583)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1192024)
    at TextBuffer.emitDidChangeTextEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:503956)
    at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:492131)
    at TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:24215)
    at mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:16150)
    at TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:39484)
    at TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:39038)
    at TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:16113)
    at TextEditor.insertText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:15662)
    at TextEditor.e.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:259206)
    at /packages/language-babel/lib/did-insert-text.coffee:80:18)
    at TextEditorComponent.didTextInput (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:93878)

Commands

     -2:25.6.0 core:backspace (input.hidden-input)
     -2:19.7.0 intentions:highlight (input.hidden-input)
  4x -2:19.4.0 editor:delete-to-beginning-of-word (input.hidden-input)
     -2:17.7.0 core:backspace (input.hidden-input)
     -2:17.4.0 core:move-right (input.hidden-input)
     -2:16.9.0 core:move-down (input.hidden-input)
     -2:10.6.0 core:save (input.hidden-input)
     -1:40.9.0 editor:newline (input.hidden-input)
     -1:40.2.0 core:move-up (input.hidden-input)
     -1:37.9.0 core:backspace (input.hidden-input)
     -1:35.8.0 autocomplete-plus:confirm (input.hidden-input)
     -1:03.1.0 core:save (input.hidden-input)
  3x -0:54.5.0 core:backspace (input.hidden-input)
     -0:28.7.0 editor:consolidate-selections (input.hidden-input)
     -0:28.7.0 core:cancel (input.hidden-input)
     -0:20.6.0 grammar-selector:show (atom-text-editor.editor.is-focused)

Non-Core Packages

atom-js-standard 1.0.2 
busy-signal 1.4.3 
emmet 2.4.3 
intentions 1.1.5 
javascript-snippets 1.2.1 
javascript-standard-snippets 0.2.1 
language-babel 2.85.0 
linter 2.2.0 
linter-js-standard 6.1.0 
linter-ui-default 1.7.1 
standardjs-snippets 2.6.2 
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