cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@apache.org
Subject [6/31] js commit: [win8] modulemapper refactor for App plugin.
Date Wed, 27 Feb 2013 21:09:56 GMT
[win8] modulemapper refactor for App plugin.

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/4c8d451b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/4c8d451b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/4c8d451b

Branch: refs/heads/next
Commit: 4c8d451b82982b7e0f2dccc9c47a062f99b786bd
Parents: c5865e2
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 25 15:48:17 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Feb 20 15:13:26 2013 -0500

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


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

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/4c8d451b/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
new file mode 100644
index 0000000..c91f429
--- /dev/null
+++ b/lib/windows8/plugin/windows8/console/symbols.js
@@ -0,0 +1,24 @@
+/*
+ * 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