Browse Source

Remove old debug

Jay Salvat 10 năm trước cách đây
mục cha
commit
d00cff167f
4 tập tin đã thay đổi với 2 bổ sung24 xóa
  1. 1 12
      dist/vegas.js
  2. 1 1
      dist/vegas.min.js
  3. 0 0
      dist/vegas.min.js.map
  4. 0 11
      src/vegas.js

+ 1 - 12
dist/vegas.js

@@ -1,6 +1,6 @@
 /*!-----------------------------------------------------------------------------
  * Vegas - Fullscreen Backgrounds and Slideshows.
- * v2.0.4 - built 2015-03-15
+ * v2.0.4 - built 2015-03-18
  * Licensed under the MIT License.
  * http://vegas.jaysalvat.com/
  * ----------------------------------------------------------------------------
@@ -284,12 +284,7 @@
                 delay  = duration / 10,
                 volume = video.volume - 0.09;
 
-            var src = video.getElementsByTagName('source')[0].src;
-
             if (volume > 0) {
-                if (src === 'http://localhost/personnel/vegas/dev/videos/bg2.mp4') {
-                    console.log('----', Math.round(volume * 100));
-                }
                 video.volume = volume;
 
                 setTimeout(function () {
@@ -305,13 +300,7 @@
                 delay  = duration / 10,
                 volume = video.volume + 0.09;
             
-            var src = video.getElementsByTagName('source')[0].src;
-
             if (volume < 1) {
-                if (src === 'http://localhost/personnel/vegas/dev/videos/bg2.mp4') {
-                    console.log('++++', Math.round(volume * 100));
-                }
-
                 video.volume = volume;
 
                 setTimeout(function () {

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/vegas.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/vegas.min.js.map


+ 0 - 11
src/vegas.js

@@ -275,12 +275,7 @@
                 delay  = duration / 10,
                 volume = video.volume - 0.09;
 
-            var src = video.getElementsByTagName('source')[0].src;
-
             if (volume > 0) {
-                if (src === 'http://localhost/personnel/vegas/dev/videos/bg2.mp4') {
-                    console.log('----', Math.round(volume * 100));
-                }
                 video.volume = volume;
 
                 setTimeout(function () {
@@ -296,13 +291,7 @@
                 delay  = duration / 10,
                 volume = video.volume + 0.09;
             
-            var src = video.getElementsByTagName('source')[0].src;
-
             if (volume < 1) {
-                if (src === 'http://localhost/personnel/vegas/dev/videos/bg2.mp4') {
-                    console.log('++++', Math.round(volume * 100));
-                }
-
                 video.volume = volume;
 
                 setTimeout(function () {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác