9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2024-10-06 10:22:07 +08:00
customCamera/www/customCamera.js

18 lines
344 B
JavaScript

/**
* Permet de faire l'interface entre phonegap et l'application customcamera en java.
*/
'use strict';
var exec = require('cordova/exec');
// constructor.
var customCameraExport = function() {
};
// add method.
customCameraExport.prototype.getPicture = function() {
alert("Oh yeah !");
};
module.exports = new customCameraExport();