* [iOS] update rax jsfm

Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ea267381
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ea267381
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ea267381

Branch: refs/heads/master
Commit: ea267381e7bb82938833cba0f8ee300f77a2bc09
Parents: fc9cccc
Author: acton393 <[email protected]>
Authored: Fri Jan 12 15:48:26 2018 +0800
Committer: acton393 <[email protected]>
Committed: Fri Jan 12 15:48:26 2018 +0800

----------------------------------------------------------------------
 pre-build/weex-rax-api.js | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ea267381/pre-build/weex-rax-api.js
----------------------------------------------------------------------
diff --git a/pre-build/weex-rax-api.js b/pre-build/weex-rax-api.js
index 145f880..5f2944b 100644
--- a/pre-build/weex-rax-api.js
+++ b/pre-build/weex-rax-api.js
@@ -1,4 +1,4 @@
-/* Prepare Rax Environment APIs 0.4.20, Build 2018-01-11 16:00. */
+/* Prepare Rax Environment APIs 0.4.20, Build 2018-01-12 15:20. */
 
 var global = this; var process = {env:{}};
 (function (global, factory) {
@@ -724,6 +724,13 @@ function resetInstanceContext(instanceContext) {
     clearInterval: clearInterval,
     requestAnimationFrame: requestAnimationFrame,
     cancelAnimationFrame: cancelAnimationFrame,
+    setImmediate: typeof setImmediate === 'function' && setImmediate || 
function (fn) {
+      setTimeout(fn, 0);
+    },
+    clearImmediate: typeof setImmediate === 'function' && setImmediate || 
function (id) {
+      clearTimeout(id);
+    },
+    frameworkVersion: null,
     alert: function alert(message) {
       var modal = __weex_require__(MODAL_MODULE);
       modal.alert({
@@ -5395,6 +5402,8 @@ module.exports = {
   get matchMedia() {
     return __webpack_require__(10);
   }
+};
+
 /***/ }),
 /* 3 */
 /***/ (function(module, exports, __webpack_require__) {

Reply via email to