removed proxy and renamed platform file, merge instead of clobber, fixed failing tests for missing methods.

This commit is contained in:
Jesse MacFadyen 2015-09-02 00:22:57 -07:00
parent da924e16fe
commit b0b61af61a
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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);