cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [7/9] js commit: Revert "[win8] modulemapper refactor for App plugin."
Date Thu, 21 Feb 2013 12:56:01 GMT
Revert "[win8] modulemapper refactor for App plugin."

This reverts commit 4c8d451b82982b7e0f2dccc9c47a062f99b786bd.


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

Branch: refs/heads/master
Commit: 2ed6452e23b8dd90684ac0803631ebdc5e59b31f
Parents: fab071a
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 21 07:54:31 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 21 07:54:31 2013 -0500

----------------------------------------------------------------------
 lib/windows8/platform.js                        |    7 +++++
 lib/windows8/plugin/windows8/console/symbols.js |   24 ------------------
 2 files changed, 7 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2ed6452e/lib/windows8/platform.js
----------------------------------------------------------------------
diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js
index f3626db..03d83bc 100755
--- a/lib/windows8/platform.js
+++ b/lib/windows8/platform.js
@@ -75,6 +75,13 @@ module.exports = {
                     path: 'cordova/commandProxy'
                 }
             }
+        },
+        navigator: {
+            children: {
+                console: {
+                    path: "cordova/plugin/windows8/console"
+                }
+            }
         }
     }
 };

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2ed6452e/lib/windows8/plugin/windows8/console/symbols.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/console/symbols.js b/lib/windows8/plugin/windows8/console/symbols.js
deleted file mode 100644
index c91f429..0000000
--- a/lib/windows8/plugin/windows8/console/symbols.js
+++ /dev/null
@@ -1,24 +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/windows8/console', 'navigator.console');


Mime
View raw message