mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12:49 +08:00
removed proxy and renamed platform file, merge instead of clobber, fixed failing tests for missing methods.
This commit is contained in:
parent
da924e16fe
commit
b0b61af61a
@ -48,8 +48,8 @@
|
||||
</platform>
|
||||
|
||||
<platform name="browser">
|
||||
<js-module src="src/browser/StatusBarProxy.js" name="StatusBarProxy">
|
||||
<clobbers target="window.StatusBar" />
|
||||
<js-module src="src/browser/statusbar.js" name="statusbar">
|
||||
<merges target="window.StatusBar" />
|
||||
</js-module>
|
||||
</platform>
|
||||
|
||||
|
@ -26,6 +26,12 @@ function notSupported() {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
isVisible: false,
|
||||
styleBlackTranslucent:notSupported,
|
||||
styleDefault:notSupported,
|
||||
styleLightContent:notSupported,
|
||||
styleBlackOpaque:notSupported,
|
||||
overlaysWebView:notSupported,
|
||||
overlaysWebView: notSupported,
|
||||
styleDefault: notSupported,
|
||||
styleLightContect: notSupported,
|
||||
@ -37,4 +43,3 @@ module.exports = {
|
||||
show: notSupported
|
||||
};
|
||||
|
||||
require('cordova/exec/proxy').add('StatusBar', module.exports);
|
Loading…
Reference in New Issue
Block a user