cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: [CB-4131] Use relative require paths in media-capture plugin.
Date Tue, 09 Jul 2013 19:11:52 GMT
Updated Branches:
  refs/heads/master aef150793 -> d3be3b502


[CB-4131] Use relative require paths in media-capture plugin.


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

Branch: refs/heads/master
Commit: d3be3b502ffab818281fb0c055e2697d2501abca
Parents: aef1507
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Jul 9 14:55:06 2013 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Jul 9 14:55:06 2013 -0400

----------------------------------------------------------------------
 www/MediaFile.js | 2 +-
 www/capture.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/d3be3b50/www/MediaFile.js
----------------------------------------------------------------------
diff --git a/www/MediaFile.js b/www/MediaFile.js
index 430f97b..6abff1d 100644
--- a/www/MediaFile.js
+++ b/www/MediaFile.js
@@ -22,7 +22,7 @@
 var utils = require('cordova/utils'),
     exec = require('cordova/exec'),
     File = require('org.apache.cordova.core.file.File'),
-    CaptureError = require('org.apache.cordova.core.media-capture.CaptureError');
+    CaptureError = require('./CaptureError');
 /**
  * Represents a single file.
  *

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/d3be3b50/www/capture.js
----------------------------------------------------------------------
diff --git a/www/capture.js b/www/capture.js
index e2a3492..6b67ca8 100644
--- a/www/capture.js
+++ b/www/capture.js
@@ -20,7 +20,7 @@
 */
 
 var exec = require('cordova/exec'),
-    MediaFile = require('org.apache.cordova.core.media-capture.MediaFile');
+    MediaFile = require('./MediaFile');
 
 /**
  * Launches a capture of different types.


Mime
View raw message