cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [4/9] js commit: [win8] modulemapper refactor for App plugin.
Date Wed, 03 Apr 2013 00:26:26 GMT
[win8] modulemapper refactor for App plugin.


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

Branch: refs/heads/master
Commit: f5eadcdfa6a4ce2d4232c3ded52185ec92351c15
Parents: 0e31fd3
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 21 07:57:07 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Apr 2 20:24:59 2013 -0400

----------------------------------------------------------------------
 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/f5eadcdf/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/f5eadcdf/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