Sfoglia il codice sorgente

merge:合并integration

leo 1 anno fa
parent
commit
744097d506
2 ha cambiato i file con 1862 aggiunte e 1964 eliminazioni
  1. 2 4
      static/webRtcYJ/WXdraw.js
  2. 1860 1960
      static/webRtcYJ/WXtrialInterface.html

+ 2 - 4
static/webRtcYJ/WXdraw.js

@@ -413,9 +413,7 @@ function doConnectDirectives() {
     }
   };
 }
-$('body').on('click', function () {
-  draw_graph('pencil', this);
-});
+draw_graph('pencil', $('body'));
 //剪切板
 $('.upload').on('click', function () {
   var texts = $(this).attr('data-text');
@@ -464,7 +462,7 @@ $('.PictureQuality').on('click', function () {
 });
 var canDraw = false;
 //画图形
-var draw_graph = function (graphType) {
+function draw_graph(graphType) {
   //把蒙版放于画板上面
   $('#container').css('z-index', 30);
   $('#dedit').css('z-index', 20);

File diff suppressed because it is too large
+ 1860 - 1960
static/webRtcYJ/WXtrialInterface.html