Commit 4f27c50d4f66ba4624cb2843478c3aa42b193af8

Authored by ykxie
1 parent 6e1dc265

delete console

Showing 1 changed file with 0 additions and 10 deletions
src/js/gbreplayer.js
@@ -392,7 +392,6 @@ $(function(){ @@ -392,7 +392,6 @@ $(function(){
392 } 392 }
393 ,pauseCallback: function(){ // 暂停 393 ,pauseCallback: function(){ // 暂停
394 GBCodePlayBack.audioTime = parseInt(player.elements.audioDom.currentTime*1000) 394 GBCodePlayBack.audioTime = parseInt(player.elements.audioDom.currentTime*1000)
395 - console.log(parseInt(player.elements.audioDom.currentTime*1000));  
396 pauseCode(); 395 pauseCode();
397 GBCodePlayBack.firstPlay = 0; 396 GBCodePlayBack.firstPlay = 0;
398 GBCodePlayBack.pauseValue = GBCodePlayBack.htmlplayereditor.getValue(); 397 GBCodePlayBack.pauseValue = GBCodePlayBack.htmlplayereditor.getValue();
@@ -904,7 +903,6 @@ $(function(){ @@ -904,7 +903,6 @@ $(function(){
904 903
905 var keepTimer = $('.recording-time').val() 904 var keepTimer = $('.recording-time').val()
906 replaydto.totaltime = parseInt(keepTimer); 905 replaydto.totaltime = parseInt(keepTimer);
907 - console.log(JSON.stringify(replaydto));  
908 if(_role == 0){ 906 if(_role == 0){
909 replaydto.codeRecordList = recorddatas; 907 replaydto.codeRecordList = recorddatas;
910 $.ajax({ 908 $.ajax({
@@ -1247,7 +1245,6 @@ $(function(){ @@ -1247,7 +1245,6 @@ $(function(){
1247 }; 1245 };
1248 GBCodePlayBack.records.push(recordobj); 1246 GBCodePlayBack.records.push(recordobj);
1249 GBCodePlayBack.record_startime = currenttime; //设定起始时间 1247 GBCodePlayBack.record_startime = currenttime; //设定起始时间
1250 - console.log(GBCodePlayBack.records);  
1251 }, 1248 },
1252 changeValueCallback: function(record, replay_type, offset) { 1249 changeValueCallback: function(record, replay_type, offset) {
1253 var obj = record.changeobj, 1250 var obj = record.changeobj,
@@ -1487,7 +1484,6 @@ $(function(){ @@ -1487,7 +1484,6 @@ $(function(){
1487 } 1484 }
1488 $("#comprun").data('run', 0); 1485 $("#comprun").data('run', 0);
1489 $('.compile-loading').show(); 1486 $('.compile-loading').show();
1490 - console.log($("#comprun").data('run'));  
1491 // 暂停录制 1487 // 暂停录制
1492 var pauseState = $('#pause').data('pause'); 1488 var pauseState = $('#pause').data('pause');
1493 if (pauseState == 1 && _role == 0) { 1489 if (pauseState == 1 && _role == 0) {
@@ -1510,7 +1506,6 @@ $(function(){ @@ -1510,7 +1506,6 @@ $(function(){
1510 playTime: 0 1506 playTime: 0
1511 }; 1507 };
1512 GBCodePlayBack.records.push(recordobj); 1508 GBCodePlayBack.records.push(recordobj);
1513 - console.log(GBCodePlayBack.records);  
1514 1509
1515 $('#pause').data('status', '1'); 1510 $('#pause').data('status', '1');
1516 $('#pause').data('pause', '0'); 1511 $('#pause').data('pause', '0');
@@ -1518,7 +1513,6 @@ $(function(){ @@ -1518,7 +1513,6 @@ $(function(){
1518 $('#start-recording').hide(); 1513 $('#start-recording').hide();
1519 1514
1520 $('.pause-shodow').removeClass('hidden').addClass('show'); 1515 $('.pause-shodow').removeClass('hidden').addClass('show');
1521 - console.log('0000---1111')  
1522 } 1516 }
1523 compileRun(l) 1517 compileRun(l)
1524 } 1518 }
@@ -1775,7 +1769,6 @@ $(function(){ @@ -1775,7 +1769,6 @@ $(function(){
1775 var starttime = 0; 1769 var starttime = 0;
1776 var playTotalTime = 0; 1770 var playTotalTime = 0;
1777 1771
1778 - console.log(playbackrecord)  
1779 for (var i = 0; i < playbackrecord.length; i++) { 1772 for (var i = 0; i < playbackrecord.length; i++) {
1780 if (playbackrecord[i].trigger === 1) { 1773 if (playbackrecord[i].trigger === 1) {
1781 playTotalTime += parseInt(playbackrecord[i].intervaltime); 1774 playTotalTime += parseInt(playbackrecord[i].intervaltime);
@@ -1793,12 +1786,10 @@ $(function(){ @@ -1793,12 +1786,10 @@ $(function(){
1793 starttime = parseInt(starttime) + parseInt(replayinterval); 1786 starttime = parseInt(starttime) + parseInt(replayinterval);
1794 } 1787 }
1795 } 1788 }
1796 - console.log(starttime);  
1797 timeoutcontroller = setTimeout(GBCodePlayBack.changeValueCallback(playbackrecord[i]), starttime/GBCodePlayBack.speed); 1789 timeoutcontroller = setTimeout(GBCodePlayBack.changeValueCallback(playbackrecord[i]), starttime/GBCodePlayBack.speed);
1798 GBCodePlayBack.recordtimeoutcontrolls.push(timeoutcontroller); 1790 GBCodePlayBack.recordtimeoutcontrolls.push(timeoutcontroller);
1799 } 1791 }
1800 } 1792 }
1801 - console.log(GBCodePlayBack.recordtimeoutcontrolls);  
1802 } 1793 }
1803 1794
1804 function pauseCode(){ 1795 function pauseCode(){
@@ -1949,7 +1940,6 @@ $(function(){ @@ -1949,7 +1940,6 @@ $(function(){
1949 } 1940 }
1950 1941
1951 GBCodePlayBack.firstPlay = 1; 1942 GBCodePlayBack.firstPlay = 1;
1952 - console.log(GBCodePlayBack.records);  
1953 /* 初始化播放 */ 1943 /* 初始化播放 */
1954 $('#play').data('status', 0); 1944 $('#play').data('status', 0);
1955 for (var i = 0; i < GBCodePlayBack.records.length; i++) { 1945 for (var i = 0; i < GBCodePlayBack.records.length; i++) {