Commit 54f932e9 by Alexander Zobnin

ace: fix error when getCompleter() wasn't passed

parent 451ecce4
......@@ -150,7 +150,7 @@ function link(scope, elem, attrs) {
enableSnippets: true
});
if (scope.getCompleter) {
if (scope.getCompleter()) {
codeEditor.completers.push(scope.getCompleter());
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment