瀏覽代碼

fix a lint error

Michelle Bu 10 年之前
父節點
當前提交
12e1de0a5f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/util.js

+ 2 - 2
lib/util.js

@@ -60,7 +60,7 @@ var util = {
         err = true;
         err = true;
       }
       }
     }
     }
-    err ? console.error.apply(console, copy) : console.log.apply(console, copy);  
+    err ? console.error.apply(console, copy) : console.log.apply(console, copy);
   },
   },
   //
   //
 
 
@@ -148,7 +148,7 @@ var util = {
           util.supports.onnegotiationneeded = true;
           util.supports.onnegotiationneeded = true;
         }
         }
       };
       };
-      var negotiationDC = negotiationPC.createDataChannel('_PEERJSNEGOTIATIONTEST');
+      negotiationPC.createDataChannel('_PEERJSNEGOTIATIONTEST');
 
 
       setTimeout(function() {
       setTimeout(function() {
         negotiationPC.close();
         negotiationPC.close();