weex-vdom-tester
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -84,3 +84,3 @@ var ref = require('./document'); | ||
Instance.prototype.$create = function $create (code, config, data) { | ||
Instance.prototype.$create = function $create (code, callbacks, config, data) { | ||
var this$1 = this; | ||
@@ -120,3 +120,3 @@ | ||
return (function (callNative) { | ||
return target.createInstance(this$1.id, code, config, data) | ||
return target.createInstance(this$1.id, code, config, data, { config: config, callbacks: callbacks }) | ||
})(this.callNative.bind(this)) | ||
@@ -191,3 +191,3 @@ }; | ||
timestamp: Date.now(), | ||
args: clonePlainObject([ref, type, data, domChanges]) | ||
args: clonePlainObject([ref, type, data, domChanges]) | ||
}) | ||
@@ -217,5 +217,5 @@ target.receiveTasks(this.id, [{ | ||
method: 'callback', | ||
timestamp: Date.now(), | ||
timestamp: Date.now(), | ||
args: clonePlainObject([funcId, data, ifLast]) | ||
}) | ||
}) | ||
target.receiveTasks(this.id, [{ | ||
@@ -222,0 +222,0 @@ method: 'callback', |
{ | ||
"name": "weex-vdom-tester", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"description": "Virtual-DOM test driver for Weex", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78111