cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [13/24] js commit: [all] modulemapper refactor for logger.
Date Tue, 12 Feb 2013 19:32:41 GMT
[all] modulemapper refactor for logger.

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

Branch: refs/heads/master
Commit: c8368ebb79e56a1b4a398d1859106524c8c82380
Parents: 9e65e75
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 25 14:05:34 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Feb 12 13:44:50 2013 -0500

----------------------------------------------------------------------
 lib/common/common.js                |    3 ---
 lib/common/plugin/logger/symbols.js |   24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c8368ebb/lib/common/common.js
----------------------------------------------------------------------
diff --git a/lib/common/common.js b/lib/common/common.js
index a47c5f3..729811f 100644
--- a/lib/common/common.js
+++ b/lib/common/common.js
@@ -26,9 +26,6 @@ module.exports = {
             children: {
                 exec: {
                     path: 'cordova/exec'
-                },
-                logger: {
-                    path: 'cordova/plugin/logger'
                 }
             }
         },

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c8368ebb/lib/common/plugin/logger/symbols.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/logger/symbols.js b/lib/common/plugin/logger/symbols.js
new file mode 100644
index 0000000..336b6a1
--- /dev/null
+++ b/lib/common/plugin/logger/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/logger', 'cordova.logger');


Mime
View raw message