Browse Source

cleaned edlp_theme bower dependency and libraries

Bachir Soussi Chiadmi 6 years ago
parent
commit
94501a2aad

File diff suppressed because it is too large
+ 0 - 13
sites/all/themes/custom/edlptheme/assets/dist/bower/OverlayScrollbars.min.css


File diff suppressed because it is too large
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/bower/jquery.history.js


File diff suppressed because it is too large
+ 0 - 13
sites/all/themes/custom/edlptheme/assets/dist/bower/jquery.overlayScrollbars.min.js


+ 1 - 1
sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js

@@ -16,7 +16,7 @@
     //  | || ' \| |  _|
     // |___|_||_|_|\__|
     function init(){
-      console.log("EdlpTheme init()");
+      // console.log("EdlpTheme init()");
 
       // redirect all no-front pages to front with right url ajax load
       initHistory();

+ 1 - 1
sites/all/themes/custom/edlptheme/assets/scripts/main.js

@@ -16,7 +16,7 @@
     //  | || ' \| |  _|
     // |___|_||_|_|\__|
     function init(){
-      console.log("EdlpTheme init()");
+      // console.log("EdlpTheme init()");
 
       // redirect all no-front pages to front with right url ajax load
       initHistory();

+ 0 - 2
sites/all/themes/custom/edlptheme/bower.json

@@ -14,9 +14,7 @@
     "tests"
   ],
   "dependencies": {
-    "history.js": "latest",
     "jquery.hotkeys": "latest",
-    "overlayScrollbars": "latest",
     "masonry-layout": "latest",
     "imagesloaded": "latest"
   }

+ 1 - 4
sites/all/themes/custom/edlptheme/edlptheme.libraries.yml

@@ -3,7 +3,6 @@ global-css:
   css:
     base:
       assets/dist/styles/app.min.css: {}
-      # assets/dist/bower/OverlayScrollbars.min.css: {}
 
 history-js:
   version: VERSION
@@ -13,9 +12,7 @@ history-js:
 global-js:
   version: VERSION
   js:
-    assets/dist/bower/jquery.history.js: { scope: footer }
-    assets/dist/bower/jquery.hotkeys.js: { scope: footer }
-    # assets/dist/bower/jquery.overlayScrollbars.min.js: { scope: footer }
+    # assets/dist/bower/jquery.hotkeys.js: { scope: footer }
     assets/dist/bower/imagesloaded.pkgd.min.js: { scope: footer }
     assets/dist/bower/masonry.pkgd.min.js: { scope: footer }
     assets/dist/scripts/main.min.js: { scope: footer }

+ 0 - 9
sites/all/themes/custom/edlptheme/gulpfile.js

@@ -51,15 +51,6 @@ gulp.task('styles', function () {
 gulp.task('bower', function() {
     gulp.src(mainBowerFiles({
       "overrides":{
-        "history.js":{
-          "main":"./scripts/bundled/html4+html5/jquery.history.js"
-        },
-        "overlayScrollbars":{
-          "main":[
-            "./js/jquery.overlayScrollbars.min.js",
-            "./css/OverlayScrollbars.min.css"
-          ]
-        },
         "masonry-layout":{
           "main":"./dist/masonry.pkgd.min.js"
         },

Some files were not shown because too many files changed in this diff