浏览代码

otr.js also has jquery.browser as dependency

JC Brand 10 年之前
父节点
当前提交
f2e42b4111
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/otr.js

+ 2 - 1
src/otr.js

@@ -14,10 +14,11 @@
   if (typeof define === 'function' && define.amd) {
     define([
         "jquery",
+        "jquery.browser",
         "bigint",
         "crypto",
         "eventemitter"
-    ], function ($, BigInt, CryptoJS, EventEmitter) {
+    ], function ($, dummy, BigInt, CryptoJS, EventEmitter) {
       if ($.browser.msie) {
           return undefined;
       }