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
[30/37] js commit: [ios] modulemapper refactor for DebugConsole.
[ios] modulemapper refactor for DebugConsole.
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/765134ed
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/765134ed
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/765134ed
Branch: refs/heads/symbolmapping
Commit: 765134ed34635db04e65be5b21c4d186cfb462a0
Parents: f7333b6
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 15:39:16 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:04 2013 -0500
----------------------------------------------------------------------
lib/ios/platform.js | 5 -----
lib/ios/plugin/ios/console/symbols.js | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/765134ed/lib/ios/platform.js
----------------------------------------------------------------------
diff --git a/lib/ios/platform.js b/lib/ios/platform.js
index a8f876e..c424257 100644
--- a/lib/ios/platform.js
+++ b/lib/ios/platform.js
@@ -26,11 +26,6 @@ module.exports = {
modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
modulemapper.mapModules(window);
- },
- clobbers: {
- console: {
- path: 'cordova/plugin/ios/console'
- }
}
};
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/765134ed/lib/ios/plugin/ios/console/symbols.js
----------------------------------------------------------------------
diff --git a/lib/ios/plugin/ios/console/symbols.js b/lib/ios/plugin/ios/console/symbols.js
new file mode 100644
index 0000000..f6898fb
--- /dev/null
+++ b/lib/ios/plugin/ios/console/symbols.js
@@ -0,0 +1,23 @@
+/*
+ * 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/ios/console', 'console');