36 lines
1.4 KiB
JavaScript
Raw Normal View History

2015-11-30 10:11:48 -06:00
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2015-11-28 18:26:55 -06:00
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
case 3: return decorators.reduceRight(function(o, d) { return (d && d(target, key)), void 0; }, void 0);
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
}
2015-11-28 16:52:05 -06:00
};
2015-11-28 18:26:55 -06:00
var plugin_1 = require('./plugin');
var Toast = (function () {
function Toast() {
}
2015-11-29 19:54:45 -06:00
Toast.hide = function () { };
;
2015-11-30 10:11:48 -06:00
Toast.showWithOptions = function (options) { };
2015-11-29 19:54:45 -06:00
;
Object.defineProperty(Toast, "hide",
__decorate([
2015-11-30 10:11:48 -06:00
plugin_1.Cordova()
2015-11-29 19:54:45 -06:00
], Toast, "hide", Object.getOwnPropertyDescriptor(Toast, "hide")));
Object.defineProperty(Toast, "showWithOptions",
__decorate([
2015-11-30 10:11:48 -06:00
plugin_1.Cordova()
2015-11-29 19:54:45 -06:00
], Toast, "showWithOptions", Object.getOwnPropertyDescriptor(Toast, "showWithOptions")));
2015-11-28 18:26:55 -06:00
Toast = __decorate([
plugin_1.Plugin({
name: 'Toast',
plugin: 'cordova-plugin-x-toast',
2015-11-29 16:30:15 -06:00
pluginRef: 'plugins.toast',
repo: 'https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin'
2015-11-28 18:26:55 -06:00
})
], Toast);
return Toast;
})();
exports.Toast = Toast;