cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [1/2] git commit: [CB-4131] Use relative require paths in camera files.
Date Tue, 09 Jul 2013 18:40:32 GMT
Updated Branches:
  refs/heads/master ad6b9fa3f -> ba9b568c5


[CB-4131] Use relative require paths in camera files.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/ba9b568c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/ba9b568c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/ba9b568c

Branch: refs/heads/master
Commit: ba9b568c5d4c05e75dcf340f2c231fa8565ac42f
Parents: 311f3f6
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jul 9 14:39:05 2013 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jul 9 14:39:49 2013 -0400

----------------------------------------------------------------------
 www/Camera.js               | 4 ++--
 www/CameraPopoverOptions.js | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/ba9b568c/www/Camera.js
----------------------------------------------------------------------
diff --git a/www/Camera.js b/www/Camera.js
index db34bb9..b2da5da 100644
--- a/www/Camera.js
+++ b/www/Camera.js
@@ -21,8 +21,8 @@
 
 var argscheck = require('cordova/argscheck'),
     exec = require('cordova/exec'),
-    Camera = require('org.apache.cordova.core.camera.Camera'),
-    CameraPopoverHandle = require('org.apache.cordova.core.camera.CameraPopoverHandle');
+    Camera = require('./Camera'),
+    CameraPopoverHandle = require('./CameraPopoverHandle');
 
 var cameraExport = {};
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/ba9b568c/www/CameraPopoverOptions.js
----------------------------------------------------------------------
diff --git a/www/CameraPopoverOptions.js b/www/CameraPopoverOptions.js
index 3d80930..c024984 100644
--- a/www/CameraPopoverOptions.js
+++ b/www/CameraPopoverOptions.js
@@ -19,7 +19,7 @@
  *
 */
 
-var Camera = require('org.apache.cordova.core.camera.Camera');
+var Camera = require('./Camera');
 
 /**
  * Encapsulates options for iOS Popover image picker


Mime
View raw message