use only minified textcomplete.js

pull/6791/head
Niklas Fiekas 2020-06-05 16:50:21 +02:00
parent 6fbd133141
commit 92a1d0cc9f
3 changed files with 2 additions and 2411 deletions

View File

@ -8,7 +8,7 @@ $(function() {
return textarea.value.split('\n').map(t => t.split(' ')[0]).slice(0, -1);
}
lichess.loadScript('vendor/textcomplete.js').then(function() {
lichess.loadScript('vendor/textcomplete.min.js').then(function() {
const textcomplete = new Textcomplete(new Textcomplete.editors.Textarea(textarea), {
dropdown: {

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ $(function() {
return textarea.value.split('\n').slice(0, -1);
}
lichess.loadScript('vendor/textcomplete.js').then(function() {
lichess.loadScript('vendor/textcomplete.min.js').then(function() {
const textcomplete = new Textcomplete(new Textcomplete.editors.Textarea(textarea), {
dropdown: {