mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Demo
This commit is contained in:
Vendored
+6
-7
@@ -1,9 +1,8 @@
|
||||
var util_1 = require('../util');
|
||||
var PLUGIN_REF = 'navigator.camera';
|
||||
var Camera = (function () {
|
||||
function Camera() {
|
||||
}
|
||||
Camera.getPicture = util_1.promisify(PLUGIN_REF, 'getPicture', 0, 1);
|
||||
return Camera;
|
||||
})();
|
||||
exports.Camera = Camera;
|
||||
exports.Camera = {
|
||||
name: 'Camera',
|
||||
plugin: 'cordova-plugin-camera',
|
||||
getPicture: util_1.promisify(PLUGIN_REF, 'getPicture', 0, 1),
|
||||
cleanup: util_1.promisify(PLUGIN_REF, 'cleanup', 0, 1)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user