|
|
@@ -134,12 +134,12 @@ const factory = function() {
|
|
|
|
|
|
if (this.isAndroid) {
|
|
|
if (typeof this.root[fn] === 'function') {
|
|
|
- return payload ? this.root[fn](payload) : this.root[fn]()
|
|
|
+ return data ? this.root[fn](data) : this.root[fn]()
|
|
|
} else {
|
|
|
return null
|
|
|
}
|
|
|
} else {
|
|
|
- return this.root(fn, payload)
|
|
|
+ return this.root(fn, data)
|
|
|
}
|
|
|
}
|
|
|
|