mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-18 17:02:49 +08:00
Incorrect js for statusbar plugin
This commit is contained in:
parent
512a1388c6
commit
2e15c9c025
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user