cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: statusbar - Load JS on iOS only
Date Tue, 04 Feb 2014 04:39:28 GMT
Updated Branches:
  refs/heads/master 20215013b -> be04245b4


statusbar - Load JS on iOS only

Fixes unknown exec() on startup for other platforms


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

Branch: refs/heads/master
Commit: be04245b4d00fe4adcc89eac7c68e64696a20ecf
Parents: 2021501
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Feb 3 23:38:32 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Feb 3 23:38:32 2014 -0500

----------------------------------------------------------------------
 statusbar/plugin.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/be04245b/statusbar/plugin.xml
----------------------------------------------------------------------
diff --git a/statusbar/plugin.xml b/statusbar/plugin.xml
index a0253bd..1b954e7 100644
--- a/statusbar/plugin.xml
+++ b/statusbar/plugin.xml
@@ -10,16 +10,16 @@
     <license>Apache 2.0</license>
     <keywords>cordova,statusbar</keywords>
 
-	<engines>
-		<engine name="cordova" version=">=3.0.0" />
-	</engines>
-
-    <js-module src="www/statusbar.js" name="statusbar">
-    	<clobbers target="window.StatusBar" />
-    </js-module>
+    <engines>
+            <engine name="cordova" version=">=3.0.0" />
+    </engines>
 
     <!-- ios -->
     <platform name="ios">
+        <js-module src="www/statusbar.js" name="statusbar">
+            <clobbers target="window.StatusBar" />
+        </js-module>
+
         <config-file target="config.xml" parent="/*">
             <feature name="StatusBar">
                 <param name="ios-package" value="CDVStatusBar" onload="true" />


Mime
View raw message