Skip to content

Commit

Permalink
Merge pull request #49 from DreamLab/ie11
Browse files Browse the repository at this point in the history
Internet Explorer 11 support
  • Loading branch information
krishoyt committed May 14, 2018
2 parents 8b34149 + 4b4f4bf commit fdaddd7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/complete.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'core-js/fn/array/map';
import 'core-js/fn/array/for-each';
import 'core-js/fn/array/filter';
import 'core-js/fn/array/from';
import 'core-js/fn/set';
import log from './lib/log';
import { init } from './lib/init';
import { CMP_GLOBAL_NAME } from "./lib/cmp";
Expand Down
2 changes: 1 addition & 1 deletion src/docs/components/examples/advanced/adAfterConsent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ window.__cmp('addEventListener', 'onSubmit', function(result){
adFrame.src = 'http://ib.adnxs.com/tt?id=1959558';
var contentArea = document.getElementById('MyContentArea');
contentArea.innerHTML = '';
contentArea.append(adFrame);
contentArea.appendChild(adFrame);
});
`;

Expand Down
2 changes: 1 addition & 1 deletion src/docs/lib/stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function buildScript(config, cmpLocation='../cmp.bundle.js') {
t.async = false;
t.src = '${cmpLocation}';
var tag = document.getElementsByTagName('head')[0];
tag.append(t);
tag.appendChild(t);
}
})(window, document);`;
}
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'core-js/fn/array/map';
import 'core-js/fn/array/for-each';
import 'core-js/fn/array/filter';
import 'core-js/fn/array/from';
import 'core-js/fn/set';

import {init} from './lib/init';
import { CMP_GLOBAL_NAME } from './lib/cmp';
Expand Down

0 comments on commit fdaddd7

Please sign in to comment.