From b0b61af61a6c3ab0948657b77608dd906cee517b Mon Sep 17 00:00:00 2001 From: Jesse MacFadyen Date: Wed, 2 Sep 2015 00:22:57 -0700 Subject: [PATCH] removed proxy and renamed platform file, merge instead of clobber, fixed failing tests for missing methods. --- plugin.xml | 4 ++-- src/browser/{StatusBarProxy.js => statusbar.js} | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) rename src/browser/{StatusBarProxy.js => statusbar.js} (86%) diff --git a/plugin.xml b/plugin.xml index 66e8490..f898f19 100644 --- a/plugin.xml +++ b/plugin.xml @@ -48,8 +48,8 @@ - - + + diff --git a/src/browser/StatusBarProxy.js b/src/browser/statusbar.js similarity index 86% rename from src/browser/StatusBarProxy.js rename to src/browser/statusbar.js index 6c06673..ed5b00d 100644 --- a/src/browser/StatusBarProxy.js +++ b/src/browser/statusbar.js @@ -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);