You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/03/13 20:58:50 UTC

[21/35] git commit: statusbar - Load JS on iOS only

statusbar - Load JS on iOS only

Fixes unknown exec() on startup for other platforms


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

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

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


http://git-wip-us.apache.org/repos/asf/cordova-statusbar/blob/ebe79394/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index a0253bd..1b954e7 100644
--- a/plugin.xml
+++ b/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" />