chore(): optimize CordovaProperty and InstanceProperty decorators (#635)

* chore(): optimize InstanceProperty wrapper

* chore(): optimize CordovaProperty wrapper

* tslint'

* fix decorators
This commit is contained in:
Ibrahim Hadeed
2016-12-04 11:42:30 -05:00
committed by GitHub
parent 717c1438c4
commit abc90f2e6a
10 changed files with 87 additions and 88 deletions
+2 -6
View File
@@ -26,14 +26,10 @@ declare var window;
export class WebIntent {
@CordovaProperty
static get ACTION_VIEW() {
return window.plugins.webintent.ACTION_VIEW;
}
static ACTION_VIEW;
@CordovaProperty
static get EXTRA_TEXT() {
return window.plugins.webintent.EXTRA_TEXT;
}
static EXTRA_TEXT;
/**
* @param options {Object} { action: any, url: string, type?: string }