Allow App using inappbrowser to be hosted in a cross-origin ifra… (#669)

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
csware
2020-04-14 19:22:08 +02:00
committed by GitHub
parent 074d4d03ea
commit 9b6b229509
-6
View File
@@ -20,12 +20,6 @@
*/
(function () {
// special patch to correctly work on Ripple emulator (CB-9760)
if (window.parent && !!window.parent.ripple) { // https://gist.github.com/triceam/4658021
module.exports = window.open.bind(window); // fallback to default window.open behaviour
return;
}
var exec = require('cordova/exec');
var channel = require('cordova/channel');
var modulemapper = require('cordova/modulemapper');