瀏覽代碼

Passes the asset that fail to load to postLoadErrorHandler.

j8
damencho 7 年之前
父節點
當前提交
ad7728a599
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      index.html

+ 1
- 1
index.html 查看文件

119
 
119
 
120
                     // Call extra handler if defined.
120
                     // Call extra handler if defined.
121
                     if (typeof postLoadErrorHandler === "function") {
121
                     if (typeof postLoadErrorHandler === "function") {
122
-                        postLoadErrorHandler();
122
+                        postLoadErrorHandler(fileRef);
123
                     }
123
                     }
124
                 };
124
                 };
125
                 window.removeEventListener(
125
                 window.removeEventListener(

Loading…
取消
儲存