Yea toast

This commit is contained in:
Max Lynch
2015-11-30 12:34:54 -06:00
parent b6e612209a
commit 2d70c6a3d4
87 changed files with 774 additions and 885 deletions
+17 -4
View File
@@ -1,4 +1,4 @@
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
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);
@@ -10,9 +10,21 @@ var plugin_1 = require('./plugin');
var Device = (function () {
function Device() {
}
__decorate([
plugin_1.Cordova()
], Device, "getCurrentPosition");
Device.getCurrentPosition = function (options) { };
;
Device.watchPosition = function (options) { };
;
Object.defineProperty(Device, "getCurrentPosition",
__decorate([
plugin_1.Cordova()
], Device, "getCurrentPosition", Object.getOwnPropertyDescriptor(Device, "getCurrentPosition")));
Object.defineProperty(Device, "watchPosition",
__decorate([
plugin_1.Cordova({
observable: true,
clearFunction: 'clearWatch()'
})
], Device, "watchPosition", Object.getOwnPropertyDescriptor(Device, "watchPosition")));
Device = __decorate([
plugin_1.Plugin({
name: 'Geolocation',
@@ -23,3 +35,4 @@ var Device = (function () {
return Device;
})();
exports.Device = Device;
//# sourceMappingURL=geolocation.js.map