chore(tslint): add tslint & clean up code

This commit is contained in:
Ibrahim Hadeed
2016-04-29 23:56:49 -04:00
parent 8b6d9f33f6
commit 06146b322f
58 changed files with 1014 additions and 941 deletions
+9 -9
View File
@@ -1,10 +1,10 @@
import {Cordova, Plugin} from "./plugin";
import {Observable} from "rxjs/Observable";
import {CordovaInstance} from "./plugin";
import {Cordova, Plugin} from './plugin';
import {Observable} from 'rxjs/Observable';
import {CordovaInstance} from './plugin';
/**
* Created by Ibrahim on 3/29/2016.
*/
declare var plugin : any;
declare var plugin: any;
/**
* @name Google Maps
*/
@@ -15,9 +15,9 @@ declare var plugin : any;
})
export class GoogleMaps {
private _objectInstance : any;
private _objectInstance: any;
constructor (elementId : string) {
constructor (elementId: string) {
this._objectInstance = plugin.google.maps.Map.getMap(document.getElementById(elementId));
}
@@ -25,13 +25,13 @@ export class GoogleMaps {
eventObservable: true,
event: 'plugin.google.maps.event.MAP_READY'
})
static onInit () : Observable<GoogleMaps> {return}
static onInit (): Observable<GoogleMaps> {return; }
@CordovaInstance({
sync: true
})
setDebuggable (isDebuggable : boolean) : void {}
setDebuggable (isDebuggable: boolean): void {}
setClickable (isClickable : boolean) : void {}
setClickable (isClickable: boolean): void {}
}