cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] cordova-plugin-media-capture git commit: Revert "CB-8683 changed plugin-id to pacakge-name"
Date Thu, 02 Apr 2015 03:01:12 GMT
Revert "CB-8683 changed plugin-id to pacakge-name"

This reverts commit ced5d5e14a30f8fd352dcf18692b6546ce920b85.


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/17e0cec1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/17e0cec1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/17e0cec1

Branch: refs/heads/old-ID
Commit: 17e0cec176c11635fd018cb7478888aacf6e3bef
Parents: ced5d5e
Author: Steve Gill <stevengill97@gmail.com>
Authored: Wed Apr 1 20:00:12 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Wed Apr 1 20:00:12 2015 -0700

----------------------------------------------------------------------
 package.json                  |  2 +-
 plugin.xml                    |  2 +-
 src/browser/CaptureProxy.js   |  6 +++---
 src/windows/CaptureProxy.js   | 12 ++++++------
 src/windows/MediaFile.js      |  4 ++--
 src/wp/UI/AudioCaptureTask.cs |  2 +-
 src/wp/UI/VideoCaptureTask.cs |  2 +-
 tests/plugin.xml              |  2 +-
 www/MediaFile.js              |  2 +-
 9 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index df226c8..ba288c5 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "0.3.7-dev",
   "description": "Cordova Media Capture Plugin",
   "cordova": {
-    "id": "cordova-plugin-media-capture",
+    "id": "org.apache.cordova.media-capture",
     "platforms": [
       "android",
       "amazon-fireos",

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index b488e76..60b2dca 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -21,7 +21,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 xmlns:android="http://schemas.android.com/apk/res/android"
 xmlns:rim="http://www.blackberry.com/ns/widgets"
-           id="cordova-plugin-media-capture"
+           id="org.apache.cordova.media-capture"
       version="0.3.7-dev">
     <name>Capture</name>
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/src/browser/CaptureProxy.js
----------------------------------------------------------------------
diff --git a/src/browser/CaptureProxy.js b/src/browser/CaptureProxy.js
index 1682994..0c9dd7d 100644
--- a/src/browser/CaptureProxy.js
+++ b/src/browser/CaptureProxy.js
@@ -21,9 +21,9 @@
 
 /*global require, module*/
 
-var MediaFile = require('cordova-plugin-media-capture.MediaFile');
-var MediaFileData = require('cordova-plugin-media-capture.MediaFileData');
-var CaptureError = require('cordova-plugin-media-capture.CaptureError');
+var MediaFile = require('org.apache.cordova.media-capture.MediaFile');
+var MediaFileData = require('org.apache.cordova.media-capture.MediaFileData');
+var CaptureError = require('org.apache.cordova.media-capture.CaptureError');
 
 /**
  * Helper function that converts data URI to Blob

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/src/windows/CaptureProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/CaptureProxy.js b/src/windows/CaptureProxy.js
index 7b5ab56..607226f 100644
--- a/src/windows/CaptureProxy.js
+++ b/src/windows/CaptureProxy.js
@@ -21,12 +21,12 @@
 
 /*global Windows:true */
 
-var MediaFile = require('cordova-plugin-media-capture.MediaFile');
-var CaptureError = require('cordova-plugin-media-capture.CaptureError');
-var CaptureAudioOptions = require('cordova-plugin-media-capture.CaptureAudioOptions');
-var CaptureImageOptions = require('cordova-plugin-media-capture.CaptureImageOptions');
-var CaptureVideoOptions = require('cordova-plugin-media-capture.CaptureVideoOptions');
-var MediaFileData = require('cordova-plugin-media-capture.MediaFileData');
+var MediaFile = require('org.apache.cordova.media-capture.MediaFile');
+var CaptureError = require('org.apache.cordova.media-capture.CaptureError');
+var CaptureAudioOptions = require('org.apache.cordova.media-capture.CaptureAudioOptions');
+var CaptureImageOptions = require('org.apache.cordova.media-capture.CaptureImageOptions');
+var CaptureVideoOptions = require('org.apache.cordova.media-capture.CaptureVideoOptions');
+var MediaFileData = require('org.apache.cordova.media-capture.MediaFileData');
 
 /*
  * Class that combines all logic for capturing picture and video on WP8.1

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/src/windows/MediaFile.js
----------------------------------------------------------------------
diff --git a/src/windows/MediaFile.js b/src/windows/MediaFile.js
index a8b0bc3..51465a5 100644
--- a/src/windows/MediaFile.js
+++ b/src/windows/MediaFile.js
@@ -21,8 +21,8 @@
 
 /*global Windows:true */
 
-var MediaFileData = require('cordova-plugin-media-capture.MediaFileData');
-var CaptureError = require('cordova-plugin-media-capture.CaptureError');
+var MediaFileData = require('org.apache.cordova.media-capture.MediaFileData');
+var CaptureError = require('org.apache.cordova.media-capture.CaptureError');
 
 module.exports = {
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/src/wp/UI/AudioCaptureTask.cs
----------------------------------------------------------------------
diff --git a/src/wp/UI/AudioCaptureTask.cs b/src/wp/UI/AudioCaptureTask.cs
index 9049e2e..d28315e 100644
--- a/src/wp/UI/AudioCaptureTask.cs
+++ b/src/wp/UI/AudioCaptureTask.cs
@@ -76,7 +76,7 @@ namespace WPCordovaClassLib.Cordova.UI
 
                 string baseUrl = "/";
                 // dummy parameter is used to always open a fresh version
-                root.Navigate(new System.Uri(baseUrl + "Plugins/cordova-plugin-media-capture/AudioRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
+                root.Navigate(new System.Uri(baseUrl + "Plugins/org.apache.cordova.media-capture/AudioRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
 
             });
         }

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/src/wp/UI/VideoCaptureTask.cs
----------------------------------------------------------------------
diff --git a/src/wp/UI/VideoCaptureTask.cs b/src/wp/UI/VideoCaptureTask.cs
index c76952a..e518adf 100644
--- a/src/wp/UI/VideoCaptureTask.cs
+++ b/src/wp/UI/VideoCaptureTask.cs
@@ -76,7 +76,7 @@ namespace WPCordovaClassLib.Cordova.UI
 
                 string baseUrl = "/";
                 // dummy parameter is used to always open a fresh version
-                root.Navigate(new System.Uri(baseUrl + "Plugins/cordova-plugin-media-capture/VideoRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
+                root.Navigate(new System.Uri(baseUrl + "Plugins/org.apache.cordova.media-capture/VideoRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
             });
         }
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index 5cc9c30..5bda5c4 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -21,7 +21,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:rim="http://www.blackberry.com/ns/widgets"
-    id="cordova-plugin-media-capture-tests"
+    id="org.apache.cordova.media-capture.tests"
     version="0.3.7-dev">
     <name>Cordova Media Capture Plugin Tests</name>
     <license>Apache 2.0</license>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/17e0cec1/www/MediaFile.js
----------------------------------------------------------------------
diff --git a/www/MediaFile.js b/www/MediaFile.js
index 1bc600f..17f12ef 100644
--- a/www/MediaFile.js
+++ b/www/MediaFile.js
@@ -21,7 +21,7 @@
 
 var utils = require('cordova/utils'),
     exec = require('cordova/exec'),
-    File = require('cordova-plugin-file.File'),
+    File = require('org.apache.cordova.file.File'),
     CaptureError = require('./CaptureError');
 /**
  * Represents a single file.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message