Merge pull request #2465 from bcjordan/patch-1

Remove unused variable `text`
This commit is contained in:
Harutyun Amirjanyan 2015-04-22 11:25:22 +04:00
commit 3673aabe2a

View file

@ -155,7 +155,6 @@ function getCompletionPrefix(editor) {
var doLiveAutocomplete = function(e) {
var editor = e.editor;
var text = e.args || "";
var hasCompleter = editor.completer && editor.completer.activated;
// We don't want to autocomplete with no prefix