You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gt...@apache.org on 2013/02/27 22:09:56 UTC

[14/31] js commit: Revert "[windowsphone] modulemapper refactor for console."

Revert "[windowsphone] modulemapper refactor for console."

This reverts commit 2484bf23577d1234d712e435b30823f035a7c427.


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

Branch: refs/heads/next
Commit: 6151266a0df1da168df2bf202df953ef9b49dfc3
Parents: c59a6b1
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Feb 21 07:54:29 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Feb 21 07:54:29 2013 -0500

----------------------------------------------------------------------
 lib/windowsphone/platform.js                       |   11 ++++++
 .../plugin/windowsphone/console/symbols.js         |   25 ---------------
 2 files changed, 11 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/6151266a/lib/windowsphone/platform.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js
index 2fb103c..e36f21a 100644
--- a/lib/windowsphone/platform.js
+++ b/lib/windowsphone/platform.js
@@ -42,6 +42,17 @@ module.exports = {
         CordovaCommandResult: {
             path:"cordova/plugin/windowsphone/CordovaCommandResult"
         },
+        navigator: {
+            children: {
+                console: {
+                    path: "cordova/plugin/windowsphone/console"
+
+                }
+            }
+        },
+        console:{
+          path: "cordova/plugin/windowsphone/console"
+        },
         FileTransfer: {
             path: 'cordova/plugin/windowsphone/FileTransfer'
         },

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/6151266a/lib/windowsphone/plugin/windowsphone/console/symbols.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/plugin/windowsphone/console/symbols.js b/lib/windowsphone/plugin/windowsphone/console/symbols.js
deleted file mode 100644
index 5990b72..0000000
--- a/lib/windowsphone/plugin/windowsphone/console/symbols.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * 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/console', 'navigator.console');
-modulemapper.clobbers('cordova/plugin/windowsphone/console', 'console');