mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
refactor(plugins): clean up
This commit is contained in:
parent
2efce5dcb7
commit
a1946442d1
@ -16,7 +16,7 @@ export class GoogleMaps {
|
||||
private _objectInstance : any;
|
||||
|
||||
constructor (elementId : string) {
|
||||
this._objectInstance = {};//plugin.google.maps.Map.getMap(document.getElementById(elementId));
|
||||
this._objectInstance = plugin.google.maps.Map.getMap(document.getElementById(elementId));
|
||||
}
|
||||
|
||||
@Cordova({
|
||||
|
@ -4,7 +4,9 @@ declare var sqlitePlugin;
|
||||
* @name SQLite
|
||||
*/
|
||||
@Plugin({
|
||||
pluginRef: 'sqlitePlugin'
|
||||
pluginRef: 'sqlitePlugin',
|
||||
plugin: 'cordova-sqlite-storage',
|
||||
repo: 'https://github.com/litehelpers/Cordova-sqlite-storage'
|
||||
})
|
||||
export class SQLite {
|
||||
|
||||
@ -90,7 +92,6 @@ export class SQLite {
|
||||
finish () : void {}
|
||||
|
||||
|
||||
|
||||
@CordovaInstance({
|
||||
sync: true
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user