瀏覽代碼

include/canvas.js: show full user agent in console.

Joel Martin 14 年之前
父節點
當前提交
9b940131d3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/canvas.js

+ 1 - 0
include/canvas.js

@@ -109,6 +109,7 @@ function constructor() {
     if (! conf.ctx) { conf.ctx = c.getContext('2d'); }
     ctx = conf.ctx;
 
+    Util.Debug("User Agent: " + navigator.userAgent);
     if (UE.gecko) { Util.Debug("Browser: gecko " + UE.gecko); }
     if (UE.webkit) { Util.Debug("Browser: webkit " + UE.webkit); }
     if (UE.trident) { Util.Debug("Browser: trident " + UE.trident); }