mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-02-07 23:32:54 +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>
|
||||||
|
|
||||||
<platform name="browser">
|
<platform name="browser">
|
||||||
<js-module src="src/browser/StatusBarProxy.js" name="StatusBarProxy">
|
<js-module src="src/browser/statusbar.js" name="statusbar">
|
||||||
<clobbers target="window.StatusBar" />
|
<merges target="window.StatusBar" />
|
||||||
</js-module>
|
</js-module>
|
||||||
</platform>
|
</platform>
|
||||||
|
|
||||||
|
@ -26,6 +26,12 @@ function notSupported() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
isVisible: false,
|
||||||
|
styleBlackTranslucent:notSupported,
|
||||||
|
styleDefault:notSupported,
|
||||||
|
styleLightContent:notSupported,
|
||||||
|
styleBlackOpaque:notSupported,
|
||||||
|
overlaysWebView:notSupported,
|
||||||
overlaysWebView: notSupported,
|
overlaysWebView: notSupported,
|
||||||
styleDefault: notSupported,
|
styleDefault: notSupported,
|
||||||
styleLightContect: notSupported,
|
styleLightContect: notSupported,
|
||||||
@ -37,4 +43,3 @@ module.exports = {
|
|||||||
show: notSupported
|
show: notSupported
|
||||||
};
|
};
|
||||||
|
|
||||||
require('cordova/exec/proxy').add('StatusBar', module.exports);
|
|
Loading…
Reference in New Issue
Block a user