]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/baggy/js/init.js
Add eslint & stylelint tests (fix a few things) and move dependencies to dev
[github/wallabag/wallabag.git] / app / Resources / static / themes / baggy / js / init.js
index c6a54f6fa696fc75c858d8a4ee327a3455aa89fa..07afd3118c0d38c3347bb1889eb039756b5b7d6f 100755 (executable)
@@ -1,9 +1,8 @@
 const $ = global.jquery = require('jquery');
 require('jquery.cookie');
-require('jquery-ui');
+require('jquery-ui-browserify');
 const annotator = require('annotator');
 import { savePercent, retrievePercent } from '../../_global/js/tools.js';
-import { split, extractLast } from './autoCompleteTags.js';
 import { toggleSaveLinkForm } from './uiTools.js';
 
 
@@ -124,6 +123,10 @@ $.fn.ready(() => {
   /**
    * Tags autocomplete
    */
+  /**
+   * Not working on v2
+   *
+
   $('#value').bind('keydown', (event) => {
     if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) {
       event.preventDefault();
@@ -156,6 +159,7 @@ $.fn.ready(() => {
       return false;
     },
   });
+  */
 
   //---------------------------------------------------------------------------
   // Close the message box when the user clicks the close icon