ace: fix error when getCompleter() wasn't passed
This commit is contained in:
@@ -150,7 +150,7 @@ function link(scope, elem, attrs) {
|
||||
enableSnippets: true
|
||||
});
|
||||
|
||||
if (scope.getCompleter) {
|
||||
if (scope.getCompleter()) {
|
||||
codeEditor.completers.push(scope.getCompleter());
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user