Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 0b7679c

Browse files
committed
fix "Uncaught TypeError"
close #82
1 parent d52d8ca commit 0b7679c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/provider.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports =
8585

8686
getJavascriptCompletions: ({ prefix, editor, bufferPosition }) ->
8787
completions = []
88-
for idx, tag of @completions.javascript when firstCharsEqual(tag, prefix)
88+
for idx, tag of @completions.javascript
8989
completions.push({ text: tag, type: 'angularjs' })
9090
completions
9191

0 commit comments

Comments
 (0)