CB-8683 updated wp and browser specific references of old id to new id

This commit is contained in:
Steve Gill 2015-04-01 16:34:36 -07:00
parent 2c1ded2c43
commit c85cab15b7
2 changed files with 7 additions and 7 deletions

View File

@ -198,19 +198,19 @@ var IAB = {
}, },
injectScriptFile: function (win, fail, args) { injectScriptFile: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectScriptFile is not yet implemented'; var msg = 'Browser cordova-plugin-inappbrowser injectScriptFile is not yet implemented';
console.warn(msg); console.warn(msg);
fail && fail(msg); fail && fail(msg);
}, },
injectStyleCode: function (win, fail, args) { injectStyleCode: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectStyleCode is not yet implemented'; var msg = 'Browser cordova-plugin-inappbrowser injectStyleCode is not yet implemented';
console.warn(msg); console.warn(msg);
fail && fail(msg); fail && fail(msg);
}, },
injectStyleFile: function (win, fail, args) { injectStyleFile: function (win, fail, args) {
var msg = 'Browser org.apache.cordova.inappbrowser injectStyleFile is not yet implemented'; var msg = 'Browser cordova-plugin-inappbrowser injectStyleFile is not yet implemented';
console.warn(msg); console.warn(msg);
fail && fail(msg); fail && fail(msg);
} }
@ -218,4 +218,4 @@ var IAB = {
module.exports = IAB; module.exports = IAB;
require("cordova/exec/proxy").add("InAppBrowser", module.exports); require("cordova/exec/proxy").add("InAppBrowser", module.exports);

View File

@ -159,14 +159,14 @@ namespace WPCordovaClassLib.Cordova.Commands
public void injectScriptFile(string options) public void injectScriptFile(string options)
{ {
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support executeScript"); Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support executeScript");
string[] args = JSON.JsonHelper.Deserialize<string[]>(options); string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
// throw new NotImplementedException("Windows Phone does not currently support 'executeScript'"); // throw new NotImplementedException("Windows Phone does not currently support 'executeScript'");
} }
public void injectStyleCode(string options) public void injectStyleCode(string options)
{ {
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support insertCSS"); Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support insertCSS");
return; return;
//string[] args = JSON.JsonHelper.Deserialize<string[]>(options); //string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
@ -199,7 +199,7 @@ namespace WPCordovaClassLib.Cordova.Commands
public void injectStyleFile(string options) public void injectStyleFile(string options)
{ {
Debug.WriteLine("Error : Windows Phone org.apache.cordova.inappbrowser does not currently support insertCSS"); Debug.WriteLine("Error : Windows Phone cordova-plugin-inappbrowser does not currently support insertCSS");
return; return;
//string[] args = JSON.JsonHelper.Deserialize<string[]>(options); //string[] args = JSON.JsonHelper.Deserialize<string[]>(options);