mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12: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'),
|
var argscheck = require('cordova/argscheck'),
|
||||||
// utils = require('cordova/utils'),
|
utils = require('cordova/utils'),
|
||||||
// exec = require('cordova/exec');
|
exec = require('cordova/exec');
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
var exec = cordova.require('cordova/exec')
|
|
||||||
|
|
||||||
var StatusBar = function() {
|
var StatusBar = function() {
|
||||||
};
|
};
|
||||||
@ -50,8 +46,7 @@ StatusBar.styleBlackOpaque = function() {
|
|||||||
exec(null, null, "StatusBar", "styleBlackOpaque", []);
|
exec(null, null, "StatusBar", "styleBlackOpaque", []);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO:
|
||||||
StatusBar.isVisible = true;
|
StatusBar.isVisible = true;
|
||||||
|
|
||||||
window.StatusBar = StatusBar;
|
module.exports = StatusBar;
|
||||||
|
|
||||||
})();
|
|
||||||
|
Loading…
Reference in New Issue
Block a user