cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [4/4] git commit: added initial plugin configuration
Date Mon, 20 May 2013 20:31:08 GMT
added initial plugin configuration


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

Branch: refs/heads/master
Commit: e362e19711a7c1f13f145395fa6288c2522f9603
Parents: bd6ea34
Author: hermwong <herm.wong@gmail.com>
Authored: Mon May 20 13:30:42 2013 -0700
Committer: hermwong <herm.wong@gmail.com>
Committed: Mon May 20 13:30:42 2013 -0700

----------------------------------------------------------------------
 plugin.xml |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/e362e197/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
new file mode 100644
index 0000000..472abc4
--- /dev/null
+++ b/plugin.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
+xmlns:android="http://schemas.android.com/apk/res/android"
+id="org.apache.cordova.core"
+    version="0.1.0">
+	
+    <name>Console</name>
+
+    <js-module src="www/console-via-logger.js" name="console">
+        <clobbers target="window.console" />
+    </js-module>
+    
+    <js-module src="www/logger.js" name="logger">
+        <clobbers target="window.logger" />
+    </js-module>
+    
+    <!-- ios -->
+    <platform name="ios">
+        
+        <config-file target="config.xml" parent="/*">
+		<feature name="Console">
+			<param name="ios-package" value="CDVLogger"/>
+		</feature>
+        </config-file>
+        
+	<header-file src="src/ios/CDVLogger.h" />
+	<source-file src="src/ios/CDVLogger.m" />
+        
+    </platform>
+    
+</plugin>


Mime
View raw message