cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cordova-plugin-file git commit: CB-8683 changed plugin-id to pacakge-name
Date Thu, 02 Apr 2015 01:40:44 GMT
Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master 65d3bddd0 -> c13aac3f0


CB-8683 changed plugin-id to pacakge-name


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

Branch: refs/heads/master
Commit: c13aac3f00b1e26fe1d2e55cd8bfa2cadeade4bf
Parents: 65d3bdd
Author: Steve Gill <stevengill97@gmail.com>
Authored: Wed Apr 1 18:39:16 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Wed Apr 1 18:39:16 2015 -0700

----------------------------------------------------------------------
 package.json                                  |  2 +-
 plugin.xml                                    |  2 +-
 tests/plugin.xml                              |  2 +-
 tests/tests.js                                |  8 ++---
 www/Entry.js                                  |  4 +--
 www/blackberry10/FileProxy.js                 | 40 +++++++++++-----------
 www/blackberry10/FileSystem.js                |  2 +-
 www/blackberry10/copyTo.js                    |  4 +--
 www/blackberry10/createEntryFromNative.js     |  4 +--
 www/blackberry10/getDirectory.js              |  4 +--
 www/blackberry10/getFile.js                   |  2 +-
 www/blackberry10/getFileMetadata.js           |  4 +--
 www/blackberry10/getMetadata.js               |  2 +-
 www/blackberry10/getParent.js                 |  4 +--
 www/blackberry10/moveTo.js                    |  2 +-
 www/blackberry10/readAsArrayBuffer.js         |  4 +--
 www/blackberry10/readAsBinaryString.js        |  4 +--
 www/blackberry10/readAsDataURL.js             |  4 +--
 www/blackberry10/readAsText.js                |  4 +--
 www/blackberry10/readEntries.js               |  8 ++---
 www/blackberry10/remove.js                    |  4 +--
 www/blackberry10/removeRecursively.js         |  4 +--
 www/blackberry10/requestAllFileSystems.js     |  2 +-
 www/blackberry10/requestFileSystem.js         |  2 +-
 www/blackberry10/resolveLocalFileSystemURI.js |  6 ++--
 www/blackberry10/truncate.js                  |  4 +--
 www/blackberry10/write.js                     |  4 +--
 27 files changed, 68 insertions(+), 68 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index ffb4f1a..350e1fa 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "1.3.4-dev",
   "description": "Cordova File Plugin",
   "cordova": {
-    "id": "org.apache.cordova.file",
+    "id": "cordova-plugin-file",
     "platforms": [
       "android",
       "amazon-fireos",

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index c4b9dcf..7e67816 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -20,7 +20,7 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 xmlns:android="http://schemas.android.com/apk/res/android"
-           id="org.apache.cordova.file"
+           id="cordova-plugin-file"
       version="1.3.4-dev">
     <name>File</name>
     <description>Cordova File Plugin</description>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index 80adb4e..a9dd098 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -21,7 +21,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
     xmlns:rim="http://www.blackberry.com/ns/widgets"
     xmlns:android="http://schemas.android.com/apk/res/android"
-    id="org.apache.cordova.file.tests"
+    id="cordova-plugin-file-tests"
     version="1.3.4-dev">
 
     <name>Cordova File Plugin Tests</name>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 239a0d3..229f875 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -3432,13 +3432,13 @@ exports.defineAutoTests = function () {
                     }, transfer);
                 }
                 it("file.spec.138 copyTo: content", function(done) {
-                    testContentCopy('content://org.apache.cordova.file.testprovider/www/index.html',
done);
+                    testContentCopy('content://cordova-plugin-file.testprovider/www/index.html',
done);
                 });
                 it("file.spec.139 copyTo: content /w space and query", function(done) {
-                    testContentCopy('content://org.apache.cordova.file.testprovider/?name=foo%20bar&realPath=%2Fwww%2Findex.html',
done);
+                    testContentCopy('content://cordova-plugin-file.testprovider/?name=foo%20bar&realPath=%2Fwww%2Findex.html',
done);
                 });
                 it("file.spec.140 delete: content should fail", function(done) {
-                    resolveLocalFileSystemURL('content://org.apache.cordova.file.testprovider/www/index.html',
function(entry) {
+                    resolveLocalFileSystemURL('content://cordova-plugin-file.testprovider/www/index.html',
function(entry) {
                         entry.remove(failed.bind(null, done, 'expected delete to fail'),
done);
                     }, failed.bind(null, done, 'resolveLocalFileSystemURL failed for content
provider'));
                 });
@@ -3481,7 +3481,7 @@ exports.defineAutoTests = function () {
                 });
             });
             it("file.spec.144 copyTo: asset directory", function (done) {
-                var srcUrl = 'file:///android_asset/www/plugins/org.apache.cordova.file';
+                var srcUrl = 'file:///android_asset/www/plugins/cordova-plugin-file';
                 var dstDir = "entry.copy.dstDir";
                 var dstPath = joinURL(root.fullPath, dstDir);
                 // create a new directory entry to kick off it

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/Entry.js
----------------------------------------------------------------------
diff --git a/www/Entry.js b/www/Entry.js
index c23f8e2..9cdc877 100644
--- a/www/Entry.js
+++ b/www/Entry.js
@@ -119,7 +119,7 @@ Entry.prototype.moveTo = function(parent, newName, successCallback, errorCallbac
                     // create appropriate Entry object
                     var newFSName = entry.filesystemName || (entry.filesystem &&
entry.filesystem.name);
                     var fs = newFSName ? new FileSystem(newFSName, { name: "", fullPath:
"/" }) : new FileSystem(parent.filesystem.name, { name: "", fullPath: "/" });
-                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL) : new (require('org.apache.cordova.file.FileEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL);
+                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL) : new (require('cordova-plugin-file.FileEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL);
                     successCallback(result);
                 }
             }
@@ -161,7 +161,7 @@ Entry.prototype.copyTo = function(parent, newName, successCallback, errorCallbac
                     // create appropriate Entry object
                     var newFSName = entry.filesystemName || (entry.filesystem &&
entry.filesystem.name);
                     var fs = newFSName ? new FileSystem(newFSName, { name: "", fullPath:
"/" }) : new FileSystem(parent.filesystem.name, { name: "", fullPath: "/" });
-                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL) : new (require('org.apache.cordova.file.FileEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL);
+                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL) : new (require('cordova-plugin-file.FileEntry'))(entry.name,
entry.fullPath, fs, entry.nativeURL);
                     successCallback(result);
                 }
             }

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/FileProxy.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/FileProxy.js b/www/blackberry10/FileProxy.js
index b9aea3b..bd286cb 100644
--- a/www/blackberry10/FileProxy.js
+++ b/www/blackberry10/FileProxy.js
@@ -26,26 +26,26 @@
  */
 
 module.exports = {
-    copyTo: require('org.apache.cordova.file.copyToProxy'),
-    getDirectory: require('org.apache.cordova.file.getDirectoryProxy'),
-    getFile: require('org.apache.cordova.file.getFileProxy'),
-    getFileMetadata: require('org.apache.cordova.file.getFileMetadataProxy'),
-    getMetadata: require('org.apache.cordova.file.getMetadataProxy'),
-    getParent: require('org.apache.cordova.file.getParentProxy'),
-    moveTo: require('org.apache.cordova.file.moveToProxy'),
-    readAsArrayBuffer: require('org.apache.cordova.file.readAsArrayBufferProxy'),
-    readAsBinaryString: require('org.apache.cordova.file.readAsBinaryStringProxy'),
-    readAsDataURL: require('org.apache.cordova.file.readAsDataURLProxy'),
-    readAsText: require('org.apache.cordova.file.readAsTextProxy'),
-    readEntries: require('org.apache.cordova.file.readEntriesProxy'),
-    remove: require('org.apache.cordova.file.removeProxy'),
-    removeRecursively: require('org.apache.cordova.file.removeRecursivelyProxy'),
-    resolveLocalFileSystemURI: require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAllFileSystems: require('org.apache.cordova.file.requestAllFileSystemsProxy'),
-    requestFileSystem: require('org.apache.cordova.file.requestFileSystemProxy'),
-    setMetadata: require('org.apache.cordova.file.setMetadataProxy'),
-    truncate: require('org.apache.cordova.file.truncateProxy'),
-    write: require('org.apache.cordova.file.writeProxy')
+    copyTo: require('cordova-plugin-file.copyToProxy'),
+    getDirectory: require('cordova-plugin-file.getDirectoryProxy'),
+    getFile: require('cordova-plugin-file.getFileProxy'),
+    getFileMetadata: require('cordova-plugin-file.getFileMetadataProxy'),
+    getMetadata: require('cordova-plugin-file.getMetadataProxy'),
+    getParent: require('cordova-plugin-file.getParentProxy'),
+    moveTo: require('cordova-plugin-file.moveToProxy'),
+    readAsArrayBuffer: require('cordova-plugin-file.readAsArrayBufferProxy'),
+    readAsBinaryString: require('cordova-plugin-file.readAsBinaryStringProxy'),
+    readAsDataURL: require('cordova-plugin-file.readAsDataURLProxy'),
+    readAsText: require('cordova-plugin-file.readAsTextProxy'),
+    readEntries: require('cordova-plugin-file.readEntriesProxy'),
+    remove: require('cordova-plugin-file.removeProxy'),
+    removeRecursively: require('cordova-plugin-file.removeRecursivelyProxy'),
+    resolveLocalFileSystemURI: require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAllFileSystems: require('cordova-plugin-file.requestAllFileSystemsProxy'),
+    requestFileSystem: require('cordova-plugin-file.requestFileSystemProxy'),
+    setMetadata: require('cordova-plugin-file.setMetadataProxy'),
+    truncate: require('cordova-plugin-file.truncateProxy'),
+    write: require('cordova-plugin-file.writeProxy')
 };
 
 require('cordova/exec/proxy').add('File', module.exports);

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/FileSystem.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/FileSystem.js b/www/blackberry10/FileSystem.js
index cc0a7f6..3345452 100644
--- a/www/blackberry10/FileSystem.js
+++ b/www/blackberry10/FileSystem.js
@@ -25,7 +25,7 @@
  * Translate temporary / persistent / root file paths
  */
 
-var info = require("org.apache.cordova.file.bb10FileSystemInfo");
+var info = require("cordova-plugin-file.bb10FileSystemInfo");
 
 module.exports = {
     __format__: function(fullPath) {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/copyTo.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/copyTo.js b/www/blackberry10/copyTo.js
index 36bc8c6..5a86fcd 100644
--- a/www/blackberry10/copyTo.js
+++ b/www/blackberry10/copyTo.js
@@ -33,8 +33,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args, move) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/createEntryFromNative.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/createEntryFromNative.js b/www/blackberry10/createEntryFromNative.js
index f08fbfa..21e612f 100644
--- a/www/blackberry10/createEntryFromNative.js
+++ b/www/blackberry10/createEntryFromNative.js
@@ -28,8 +28,8 @@
  *  returns Cordova entry
  */
 
-var info = require('org.apache.cordova.file.bb10FileSystemInfo'),
-    fileSystems = require('org.apache.cordova.file.fileSystems');
+var info = require('cordova-plugin-file.bb10FileSystemInfo'),
+    fileSystems = require('cordova-plugin-file.fileSystems');
 
 module.exports = function (native) {
     var entry = {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/getDirectory.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/getDirectory.js b/www/blackberry10/getDirectory.js
index d032251..265818c 100644
--- a/www/blackberry10/getDirectory.js
+++ b/www/blackberry10/getDirectory.js
@@ -32,8 +32,8 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0] === "/" ? "" : args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/getFile.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/getFile.js b/www/blackberry10/getFile.js
index 0c7a1fe..faf130d 100644
--- a/www/blackberry10/getFile.js
+++ b/www/blackberry10/getFile.js
@@ -32,7 +32,7 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy');
 
 module.exports = function (success, fail, args) {
     var uri = args[0] === "/" ? "" : args[0] + "/" + args[1],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/getFileMetadata.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/getFileMetadata.js b/www/blackberry10/getFileMetadata.js
index dd3c1a5..558a665 100644
--- a/www/blackberry10/getFileMetadata.js
+++ b/www/blackberry10/getFileMetadata.js
@@ -34,8 +34,8 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/getMetadata.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/getMetadata.js b/www/blackberry10/getMetadata.js
index 31abd5c..649f384 100644
--- a/www/blackberry10/getMetadata.js
+++ b/www/blackberry10/getMetadata.js
@@ -30,7 +30,7 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/getParent.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/getParent.js b/www/blackberry10/getParent.js
index f05eec0..1eba0a0 100644
--- a/www/blackberry10/getParent.js
+++ b/www/blackberry10/getParent.js
@@ -30,8 +30,8 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/moveTo.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/moveTo.js b/www/blackberry10/moveTo.js
index 7ca2ab3..0ae6810 100644
--- a/www/blackberry10/moveTo.js
+++ b/www/blackberry10/moveTo.js
@@ -32,7 +32,7 @@
  *  fail - FileError
  */
 
-var copy = cordova.require('org.apache.cordova.file.copyToProxy');
+var copy = cordova.require('cordova-plugin-file.copyToProxy');
 
 module.exports = function (success, fail, args) {
     copy(success, fail, args, true);

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/readAsArrayBuffer.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/readAsArrayBuffer.js b/www/blackberry10/readAsArrayBuffer.js
index 5615fb7..0e21624 100644
--- a/www/blackberry10/readAsArrayBuffer.js
+++ b/www/blackberry10/readAsArrayBuffer.js
@@ -32,8 +32,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/readAsBinaryString.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/readAsBinaryString.js b/www/blackberry10/readAsBinaryString.js
index 01ae922..8e40e3f 100644
--- a/www/blackberry10/readAsBinaryString.js
+++ b/www/blackberry10/readAsBinaryString.js
@@ -32,8 +32,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/readAsDataURL.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/readAsDataURL.js b/www/blackberry10/readAsDataURL.js
index c19b23c..786fb63 100644
--- a/www/blackberry10/readAsDataURL.js
+++ b/www/blackberry10/readAsDataURL.js
@@ -31,8 +31,8 @@
  */
 
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/readAsText.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/readAsText.js b/www/blackberry10/readAsText.js
index 6a85eb8..74fa420 100644
--- a/www/blackberry10/readAsText.js
+++ b/www/blackberry10/readAsText.js
@@ -34,8 +34,8 @@
  */
 
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/readEntries.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/readEntries.js b/www/blackberry10/readEntries.js
index aea2ec0..3b982de 100644
--- a/www/blackberry10/readEntries.js
+++ b/www/blackberry10/readEntries.js
@@ -30,10 +30,10 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    info = require('org.apache.cordova.file.bb10FileSystemInfo'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame'),
-    createEntryFromNative = cordova.require('org.apache.cordova.file.bb10CreateEntryFromNative');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    info = require('cordova-plugin-file.bb10FileSystemInfo'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame'),
+    createEntryFromNative = cordova.require('cordova-plugin-file.bb10CreateEntryFromNative');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/remove.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/remove.js b/www/blackberry10/remove.js
index 14054ad..7932da6 100644
--- a/www/blackberry10/remove.js
+++ b/www/blackberry10/remove.js
@@ -30,8 +30,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/removeRecursively.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/removeRecursively.js b/www/blackberry10/removeRecursively.js
index 20c1912..fe01a67 100644
--- a/www/blackberry10/removeRecursively.js
+++ b/www/blackberry10/removeRecursively.js
@@ -30,8 +30,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/requestAllFileSystems.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/requestAllFileSystems.js b/www/blackberry10/requestAllFileSystems.js
index 837e8fc..a7774dd 100644
--- a/www/blackberry10/requestAllFileSystems.js
+++ b/www/blackberry10/requestAllFileSystems.js
@@ -31,7 +31,7 @@
  *   - nativeURL
  */
 
-var info = require('org.apache.cordova.file.bb10FileSystemInfo');
+var info = require('cordova-plugin-file.bb10FileSystemInfo');
 
 module.exports = function (success, fail, args) {
     success([

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/requestFileSystem.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/requestFileSystem.js b/www/blackberry10/requestFileSystem.js
index de5de23..489e510 100644
--- a/www/blackberry10/requestFileSystem.js
+++ b/www/blackberry10/requestFileSystem.js
@@ -37,7 +37,7 @@
  *  fail - FileError code
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy');
 
 module.exports = function (success, fail, args) {
     var fsType = args[0] === 0 ? 'temporary' : 'persistent',

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/resolveLocalFileSystemURI.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/resolveLocalFileSystemURI.js b/www/blackberry10/resolveLocalFileSystemURI.js
index 340f888..5e82b5b 100644
--- a/www/blackberry10/resolveLocalFileSystemURI.js
+++ b/www/blackberry10/resolveLocalFileSystemURI.js
@@ -38,9 +38,9 @@
  *  fail - FileError code
  */
 
-var info = require('org.apache.cordova.file.bb10FileSystemInfo'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame'),
-    createEntryFromNative = require('org.apache.cordova.file.bb10CreateEntryFromNative'),
+var info = require('cordova-plugin-file.bb10FileSystemInfo'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame'),
+    createEntryFromNative = require('cordova-plugin-file.bb10CreateEntryFromNative'),
     SANDBOXED = true,
     UNSANDBOXED = false;
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/truncate.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/truncate.js b/www/blackberry10/truncate.js
index d93e17f..e616152 100644
--- a/www/blackberry10/truncate.js
+++ b/www/blackberry10/truncate.js
@@ -31,8 +31,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/c13aac3f/www/blackberry10/write.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/write.js b/www/blackberry10/write.js
index b8df14c..689b39b 100644
--- a/www/blackberry10/write.js
+++ b/www/blackberry10/write.js
@@ -33,8 +33,8 @@
  *  fail - FileError
  */
 
-var resolve = cordova.require('org.apache.cordova.file.resolveLocalFileSystemURIProxy'),
-    requestAnimationFrame = cordova.require('org.apache.cordova.file.bb10RequestAnimationFrame');
+var resolve = cordova.require('cordova-plugin-file.resolveLocalFileSystemURIProxy'),
+    requestAnimationFrame = cordova.require('cordova-plugin-file.bb10RequestAnimationFrame');
 
 module.exports = function (success, fail, args) {
     var uri = args[0],


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


Mime
View raw message