mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
style(): tslint
This commit is contained in:
+12
-3
@@ -158,9 +158,18 @@ export class NFC {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
export class Ndef {
|
export class Ndef {
|
||||||
private static name = 'NFC';
|
/**
|
||||||
private static plugin = 'phonegap-nfc';
|
* @private
|
||||||
private static pluginRef = 'ndef';
|
*/
|
||||||
|
static name = 'NFC';
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
static plugin = 'phonegap-nfc';
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
static pluginRef = 'ndef';
|
||||||
|
|
||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
static uriRecord(uri: string): any { return; }
|
static uriRecord(uri: string): any { return; }
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ function setIndex(args: any[], opts: any = {}, resolve?: Function, reject?: Func
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if(opts.successIndex > opts.errorIndex) {
|
if (opts.successIndex > opts.errorIndex) {
|
||||||
setErrorIndex();
|
setErrorIndex();
|
||||||
setSuccessIndex();
|
setSuccessIndex();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user