You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/02/06 20:20:36 UTC

js commit: [all] Move FileTransfer into its own symbols.js.

Updated Branches:
  refs/heads/symbolmapping 8fd64160d -> bcaca35da


[all] Move FileTransfer into its own symbols.js.


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

Branch: refs/heads/symbolmapping
Commit: bcaca35da27eb48ffd5910e8b6aa536aaaa3f2b0
Parents: 8fd6416
Author: Andrew Grieve <ag...@chromium.org>
Authored: Wed Feb 6 14:08:24 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 6 14:08:24 2013 -0500

----------------------------------------------------------------------
 lib/common/plugin/file/symbolshelper.js         |    2 -
 lib/common/plugin/filetransfer/symbols.js       |   25 ++++++++++++++++++
 lib/windowsphone/plugin/file/symbols.js         |    1 -
 lib/windowsphone/plugin/filetransfer/symbols.js |   25 ++++++++++++++++++
 4 files changed, 50 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/bcaca35d/lib/common/plugin/file/symbolshelper.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/file/symbolshelper.js b/lib/common/plugin/file/symbolshelper.js
index 6ec35f1..ee07de3 100644
--- a/lib/common/plugin/file/symbolshelper.js
+++ b/lib/common/plugin/file/symbolshelper.js
@@ -27,8 +27,6 @@ module.exports = function(exportFunc) {
     exportFunc('cordova/plugin/FileError', 'FileError');
     exportFunc('cordova/plugin/FileReader', 'FileReader');
     exportFunc('cordova/plugin/FileSystem', 'FileSystem');
-    exportFunc('cordova/plugin/FileTransfer', 'FileTransfer');
-    exportFunc('cordova/plugin/FileTransferError', 'FileTransferError');
     exportFunc('cordova/plugin/FileUploadOptions', 'FileUploadOptions');
     exportFunc('cordova/plugin/FileUploadResult', 'FileUploadResult');
     exportFunc('cordova/plugin/FileWriter', 'FileWriter');

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/bcaca35d/lib/common/plugin/filetransfer/symbols.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/filetransfer/symbols.js b/lib/common/plugin/filetransfer/symbols.js
new file mode 100644
index 0000000..62a0727
--- /dev/null
+++ b/lib/common/plugin/filetransfer/symbols.js
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+
+var modulemapper = require('cordova/modulemapper');
+
+modulemapper.clobbers('cordova/plugin/FileTransfer', 'FileTransfer');
+modulemapper.clobbers('cordova/plugin/FileTransferError', 'FileTransferError');

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/bcaca35d/lib/windowsphone/plugin/file/symbols.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/plugin/file/symbols.js b/lib/windowsphone/plugin/file/symbols.js
index 1929144..12a1c8c 100644
--- a/lib/windowsphone/plugin/file/symbols.js
+++ b/lib/windowsphone/plugin/file/symbols.js
@@ -25,4 +25,3 @@ var modulemapper = require('cordova/modulemapper'),
 symbolshelper(modulemapper.defaults);
 modulemapper.clobbers('cordova/plugin/File', 'File');
 modulemapper.clobbers('cordova/plugin/FileReader', 'FileReader');
-modulemapper.clobbers('cordova/plugin/windowsphone/FileTransfer', 'FileTransfer');

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/bcaca35d/lib/windowsphone/plugin/filetransfer/symbols.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/plugin/filetransfer/symbols.js b/lib/windowsphone/plugin/filetransfer/symbols.js
new file mode 100644
index 0000000..923dc96
--- /dev/null
+++ b/lib/windowsphone/plugin/filetransfer/symbols.js
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+
+var modulemapper = require('cordova/modulemapper');
+
+modulemapper.clobbers('cordova/plugin/windowsphone/FileTransfer', 'FileTransfer');
+modulemapper.clobbers('cordova/plugin/FileTransferError', 'FileTransferError');