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:
Vendored
+1
-1
@@ -49,7 +49,7 @@ function Cordova(opts) {
|
||||
if (opts.promise) {
|
||||
console.log('TODO: Promise');
|
||||
}
|
||||
obj[methodName] = exports.wrap(obj, methodName, opts);
|
||||
obj[methodName] = exports.wrap(obj, methodName, opts).bind(obj);
|
||||
};
|
||||
}
|
||||
exports.Cordova = Cordova;
|
||||
|
||||
Vendored
+2
-2
@@ -18,8 +18,8 @@ var Toast = (function () {
|
||||
], Toast, "hide");
|
||||
__decorate([
|
||||
plugin_1.Cordova({
|
||||
successIndex: 0,
|
||||
errIndex: 1
|
||||
successIndex: 1,
|
||||
errIndex: 2
|
||||
})
|
||||
], Toast, "showWithOptions");
|
||||
Toast = __decorate([
|
||||
|
||||
Reference in New Issue
Block a user