From 87428ce2b984985f5f25151da00dfff0154893ae Mon Sep 17 00:00:00 2001 From: Christophe Boucaut Date: Tue, 4 Nov 2014 13:19:27 +0100 Subject: [PATCH] =?UTF-8?q?Premi=C3=A8re=20tentative=20de=20mise=20en=20pl?= =?UTF-8?q?ace=20pour=20que=20le=20js=20soit=20au=20moins=20reconnu=20comm?= =?UTF-8?q?e=20un=20plugin.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin.xml | 25 +++++++++++++++++++++++++ www/customCamera.js | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 plugin.xml diff --git a/plugin.xml b/plugin.xml new file mode 100644 index 0000000..4a35b62 --- /dev/null +++ b/plugin.xml @@ -0,0 +1,25 @@ + + + customCamera + customCamera by Geneanet + undefined + custom,camera,geneanet + + + + + + + + + + + + + + \ No newline at end of file diff --git a/www/customCamera.js b/www/customCamera.js index c96f2f3..36988f2 100644 --- a/www/customCamera.js +++ b/www/customCamera.js @@ -11,8 +11,8 @@ var customCameraExport = function() { }; // add method. -customCameraExport.prototype.jesaispasquoionverra = function() { - +customCameraExport.prototype.getPicture = function() { + alert("Oh yeah !"); }; module.exports = new customCameraExport(); \ No newline at end of file