Moving to a class-based approach

This commit is contained in:
Max Lynch
2015-11-25 11:44:58 -06:00
parent e455e8ebcf
commit 188079fdef
16 changed files with 163 additions and 38 deletions
+8
View File
@@ -0,0 +1,8 @@
import {promisify} from '../util';
let PLUGIN_REF = 'navigator.camera';
export class Camera {
static getPicture = promisify(PLUGIN_REF, 'getPicture', 0, 1)
}