mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Aww yis
This commit is contained in:
@@ -57,6 +57,6 @@ export function Cordova(opts:any = {}) {
|
||||
console.log('TODO: Promise');
|
||||
}
|
||||
|
||||
obj[methodName] = wrap(obj, methodName, opts);
|
||||
obj[methodName] = wrap(obj, methodName, opts).bind(obj);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user