mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +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';
|
||||
|
||||
declare var window: any;
|
||||
declare var intel: any;
|
||||
|
||||
export interface IntelSecurityDataOptions {
|
||||
/** Non-empty string. **/
|
||||
@ -78,13 +77,18 @@ export interface IntelSecurityDataOptions {
|
||||
@Injectable()
|
||||
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…
Reference in New Issue
Block a user