cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [4/4] cordova-plugin-console git commit: move logger.js and console-via-logger.js to common modules, instead of the numerous repeats that were there.
Date Tue, 16 Jun 2015 23:08:07 GMT
move logger.js and console-via-logger.js to common modules, instead of the numerous repeats
that were there.


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

Branch: refs/heads/master
Commit: d58f218b9149d362ebb0b8ce697cf403569d14cd
Parents: b489956
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Tue Jun 16 16:01:23 2015 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Jun 16 16:01:23 2015 -0700

----------------------------------------------------------------------
 plugin.xml | 51 ++++++++-------------------------------------------
 1 file changed, 8 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/d58f218b/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 34c8b1f..fa87b4e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -29,6 +29,14 @@
     <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git</repo>
     <issue>https://issues.apache.org/jira/browse/CB/component/12320644</issue>
 
+    <js-module src="www/logger.js" name="logger">
+        <clobbers target="cordova.logger" />
+    </js-module>
+    
+    <js-module src="www/console-via-logger.js" name="console">
+        <clobbers target="console" />
+    </js-module>
+        
     <!-- ios -->
     <platform name="ios">
 
@@ -38,14 +46,6 @@
 		</feature>
         </config-file>
 
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
-
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
-
 	<header-file src="src/ios/CDVLogger.h" />
 	<source-file src="src/ios/CDVLogger.m" />
 
@@ -53,13 +53,6 @@
 
     <!-- ubuntu -->
     <platform name="ubuntu">
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
-
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
 
         <header-file src="src/ubuntu/console.h" />
         <source-file src="src/ubuntu/console.cpp" />
@@ -74,14 +67,6 @@
             </feature>
         </config-file>
 
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
-
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
-
         <source-file src="src/wp/DebugConsole.cs" />
     </platform>
 
@@ -93,35 +78,15 @@
             </feature>
         </config-file>
 
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
-
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
-
         <source-file src="src/wp/DebugConsole.cs" />
     </platform>
 
     <!-- windows8 -->
     <platform name="windows8">
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
     </platform>
 
     <!-- Windows universal platform -->
     <platform name="windows">
-        <js-module src="www/logger.js" name="logger">
-            <clobbers target="cordova.logger" />
-        </js-module>
-        <js-module src="www/console-via-logger.js" name="console">
-            <clobbers target="console" />
-        </js-module>
     </platform>
 
 </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message