You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2013/02/25 14:40:51 UTC

[8/50] js commit: [ios] modulemapper refactor for DebugConsole.

[ios] modulemapper refactor for DebugConsole.

https://issues.apache.org/jira/browse/CB-2227


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

Branch: refs/heads/multipart_plugin_result
Commit: f47ecc0c2a6d22d1d360de79366c266be8a3d67e
Parents: 0166439
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 15:39:16 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Feb 12 14:16:33 2013 -0500

----------------------------------------------------------------------
 lib/ios/platform.js                   |    5 -----
 lib/ios/plugin/ios/console/symbols.js |   23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/f47ecc0c/lib/ios/platform.js
----------------------------------------------------------------------
diff --git a/lib/ios/platform.js b/lib/ios/platform.js
index a8f876e..c424257 100644
--- a/lib/ios/platform.js
+++ b/lib/ios/platform.js
@@ -26,11 +26,6 @@ module.exports = {
 
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
         modulemapper.mapModules(window);
-    },
-    clobbers: {
-        console: {
-            path: 'cordova/plugin/ios/console'
-        }
     }
 };
 

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/f47ecc0c/lib/ios/plugin/ios/console/symbols.js
----------------------------------------------------------------------
diff --git a/lib/ios/plugin/ios/console/symbols.js b/lib/ios/plugin/ios/console/symbols.js
new file mode 100644
index 0000000..f6898fb
--- /dev/null
+++ b/lib/ios/plugin/ios/console/symbols.js
@@ -0,0 +1,23 @@
+/*
+ * 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/ios/console', 'console');