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
[34/37] js commit: [windowsphone] modulemapper refactor for console.
[windowsphone] modulemapper refactor for console.
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/b04b7ce2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/b04b7ce2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/b04b7ce2
Branch: refs/heads/symbolmapping
Commit: b04b7ce252062fb1930e3d4e5d867c40bdb24f0b
Parents: fa7ffb0
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 16:01:22 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:05 2013 -0500
----------------------------------------------------------------------
lib/windowsphone/platform.js | 11 ------
.../plugin/windowsphone/console/symbols.js | 25 +++++++++++++++
2 files changed, 25 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b04b7ce2/lib/windowsphone/platform.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js
index 22b8c9e..7a7b28a 100644
--- a/lib/windowsphone/platform.js
+++ b/lib/windowsphone/platform.js
@@ -51,17 +51,6 @@ module.exports = {
clobbers: {
CordovaCommandResult: {
path:"cordova/plugin/windowsphone/CordovaCommandResult"
- },
- navigator: {
- children: {
- console: {
- path: "cordova/plugin/windowsphone/console"
-
- }
- }
- },
- console:{
- path: "cordova/plugin/windowsphone/console"
}
}
};
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b04b7ce2/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
new file mode 100644
index 0000000..5990b72
--- /dev/null
+++ b/lib/windowsphone/plugin/windowsphone/console/symbols.js
@@ -0,0 +1,25 @@
+/*
+ * 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');