Skip to content

Commit

Permalink
one more #475-related crutch
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jan 10, 2019
1 parent c1e8ced commit cb7beab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core-js/internals/object-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ var createDict = function () {
var lt = '<';
var script = 'script';
var gt = '>';
var js = 'java' + script + ':';
var iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
iframe.src = 'java' + script + ':';
iframe.src = String(js);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);
Expand Down

0 comments on commit cb7beab

Please sign in to comment.