minor refractor

This commit is contained in:
Ibby Hadeed 2016-07-23 07:18:32 -04:00
parent df326f773f
commit 971ee4adda

View File

@ -1,7 +1,5 @@
import { CordovaInstance, Plugin } from './plugin'; import { CordovaInstance, Plugin } from './plugin';
declare var cordova: any; declare var cordova: any;
/** /**
* @name Secure Storage * @name Secure Storage
* @description * @description
@ -17,7 +15,7 @@ declare var cordova: any;
* let secureStorage: SecureStorage = new SecureStorage(); * let secureStorage: SecureStorage = new SecureStorage();
* secureStorage.create('my_store_name') * secureStorage.create('my_store_name')
* .then( * .then(
* () => console.log('Success'), * () => console.log('Storage is ready!'),
* error => console.log(error); * error => console.log(error);
* ); * );
* *
@ -50,7 +48,7 @@ export class SecureStorage {
private _objectInstance: any; private _objectInstance: any;
constructor() {} constructor() {}
/** /**
* Creates a namespaced storage. * Creates a namespaced storage.