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
+4 -4
View File
@@ -82,7 +82,7 @@ export interface CameraPopoverOptions {
* ARROW_RIGHT : 8,
* ARROW_ANY : 15
*/
arrowDir : number;
arrowDir: number;
}
/**
@@ -108,7 +108,7 @@ export interface CameraPopoverOptions {
plugin: 'cordova-plugin-camera',
pluginRef: 'navigator.camera',
repo: 'https://github.com/apache/cordova-plugin-camera',
platforms: ['Android','BlackBerry','Browser','Firefox','FireOS','iOS','Windows','Windows Phone 8','Ubuntu']
platforms: ['Android', 'BlackBerry', 'Browser', 'Firefox', 'FireOS', 'iOS', 'Windows', 'Windows Phone 8', 'Ubuntu']
})
export class Camera {
/**
@@ -119,7 +119,7 @@ export class Camera {
@Cordova({
callbackOrder: 'reverse'
})
static getPicture(options: CameraOptions): Promise<any> { return }
static getPicture(options: CameraOptions): Promise<any> { return; }
/**
* Remove intermediate image files that are kept in temporary storage after calling camera.getPicture.
@@ -129,7 +129,7 @@ export class Camera {
@Cordova({
platforms: ['iOS']
})
static cleanup(){};
static cleanup() { };
/**
* @enum {number}