Incorrect js for statusbar plugin

This commit is contained in:
Shazron Abdullah 2013-10-06 00:39:36 -07:00
parent 512a1388c6
commit 2e15c9c025

View File

@ -19,13 +19,9 @@
*
*/
// var argscheck = require('cordova/argscheck'),
// utils = require('cordova/utils'),
// exec = require('cordova/exec');
(function() {
var exec = cordova.require('cordova/exec')
var argscheck = require('cordova/argscheck'),
utils = require('cordova/utils'),
exec = require('cordova/exec');
var StatusBar = function() {
};
@ -50,8 +46,7 @@ StatusBar.styleBlackOpaque = function() {
exec(null, null, "StatusBar", "styleBlackOpaque", []);
};
// TODO:
StatusBar.isVisible = true;
window.StatusBar = StatusBar;
})();
module.exports = StatusBar;