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/01/29 20:07:51 UTC

[37/37] js commit: [win8] modulemapper refactor for App plugin.

Updated Branches:
  refs/heads/symbolmapping 7ec3bc120 -> abf515d3e (forced update)


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

Branch: refs/heads/symbolmapping
Commit: c7f972a4aaad2d4b3433381882bd781aaa0f63c7
Parents: cdf1003
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 15:48:17 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:05 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/c7f972a4/lib/windows8/platform.js
----------------------------------------------------------------------
diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js
index 1eb22ed..f4a8d8f 100755
--- a/lib/windows8/platform.js
+++ b/lib/windows8/platform.js
@@ -90,13 +90,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/c7f972a4/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');