We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cb201 commit c2a846fCopy full SHA for c2a846f
Gruntfile.js
@@ -119,7 +119,6 @@ module.exports = function(grunt) {
119
uglify: {
120
options: {
121
wrap: "terminal",
122
- onlyASCII: true,
123
maxLineLen: 5000,
124
ASCIIOnly: true
125
},
webSource/js/TerminalAutocomplete.js
@@ -143,6 +143,9 @@ TerminalAutocomplete.prototype.getEndings = function (string) {
143
144
string = string.substr(string.length - MAX_LENGTH, MAX_LENGTH);
145
146
+ // skip strings
147
+ if ((string.match(/"/g) || []).length % 2 === 1) return [];
148
+
149
for (i in this.TYPES) {
150
matcher = this.TYPES[i].regExp || this.TYPES.common.regExp;
151
trieString = (string.match(matcher) || []).slice(1).join("\n");
0 commit comments