浏览代码

Fixes JS error in API module

j8
hristoterezov 9 年前
父节点
当前提交
d09021457b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/API/API.js

+ 1
- 1
modules/API/API.js 查看文件

149
  * @param object data associated with the event
149
  * @param object data associated with the event
150
  */
150
  */
151
 function triggerEvent (name, object) {
151
 function triggerEvent (name, object) {
152
-    if (this.isEnabled() && isEventEnabled(name)) {
152
+    if (isEnabled() && isEventEnabled(name)) {
153
         sendMessage({
153
         sendMessage({
154
             type: "event",
154
             type: "event",
155
             action: "result",
155
             action: "result",

正在加载...
取消
保存