mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-22 18:46:26 +08:00
refactor(intel-security): cleanup
This commit is contained in:
parent
aedc9d65c8
commit
667f9bdde9
@ -2,7 +2,6 @@ import { Plugin, Cordova } from '@ionic-native/core';
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
declare var window: any;
|
declare var window: any;
|
||||||
declare var intel: any;
|
|
||||||
|
|
||||||
export interface IntelSecurityDataOptions {
|
export interface IntelSecurityDataOptions {
|
||||||
/** Non-empty string. **/
|
/** Non-empty string. **/
|
||||||
@ -78,13 +77,18 @@ export interface IntelSecurityDataOptions {
|
|||||||
@Injectable()
|
@Injectable()
|
||||||
export class IntelSecurity {
|
export class IntelSecurity {
|
||||||
|
|
||||||
public storage: IntelSecurityStorage;
|
/**
|
||||||
public data: IntelSecurityData;
|
* returns an IntelSecurityStorage object
|
||||||
|
* @type {IntelSecurityStorage}
|
||||||
|
*/
|
||||||
|
storage: IntelSecurityStorage = new IntelSecurityStorage();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an IntelSecurityData object
|
||||||
|
* @type {IntelSecurityData}
|
||||||
|
*/
|
||||||
|
data: IntelSecurityData = new IntelSecurityData();
|
||||||
|
|
||||||
constructor() {
|
|
||||||
this.storage = new IntelSecurityStorage();
|
|
||||||
this.data = new IntelSecurityData();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user