refactoring

This commit is contained in:
Max Lynch
2015-11-29 19:54:45 -06:00
parent 9d54bfcd0b
commit dfef6dcfe8
42 changed files with 719 additions and 185 deletions
+18
View File
@@ -0,0 +1,18 @@
import {Plugin, Cordova} from './plugin';
declare var window;
@Plugin({
name: 'Geolocation',
plugin: 'cordova-plugin-geolocation',
pluginRef: 'navigator.geolocation'
})
export class Device {
@Cordova()
static getCurrentPosition(options:any){};
// Do this with observables
// @Cordova()
// static watchPosition;
}