mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactoring
This commit is contained in:
@@ -7,14 +7,11 @@ import {Plugin, Cordova} from './plugin';
|
||||
})
|
||||
export class Camera {
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errIndex: 1
|
||||
// Not sure why this plugin has the success/err come first...
|
||||
callbackOrder: 'reverse'
|
||||
})
|
||||
static getPicture;
|
||||
static getPicture(options:any){};
|
||||
|
||||
@Cordova({
|
||||
successIndex: 0,
|
||||
errIndex: 1
|
||||
})
|
||||
static cleanup;
|
||||
@Cordova()
|
||||
static cleanup(){};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user