소스 검색

removed ECMA6 js code

Bachir Soussi Chiadmi 7 년 전
부모
커밋
79b253c350
2개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 0
      sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js
  2. 3 4
      sites/all/themes/custom/edlptheme/assets/scripts/main.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
sites/all/themes/custom/edlptheme/assets/dist/scripts/main.min.js


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

@@ -128,7 +128,7 @@
 
       // entrees
       // TODO: center the entrees menu
-       
+
     };
 
 
@@ -970,12 +970,11 @@
         var promise = this.audio.play();
         // console.log('promise', promise);
         if (promise !== undefined) {
-          promise.catch(error => {
+          promise.catch(function(error){
               // Auto-play was prevented
               // Show a UI element to let the user manually start playback
               console.warn('autoplay failed, ask for playing', error);
-
-          }).then(() => {
+          }).then(function(){
               // Auto-play started
               console.log('autoplay succeed');
           });

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.