0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/assets/es6/es6import.js
Yaniv Efraim 625c7ebdda feat(FrameManager): add type=module to addScriptTag ()
This patch adds a new "type" option to the `addScriptTag` method that
allows adding "module" tags to the page.

Fixes 
2018-03-14 13:07:48 -07:00

2 lines
61 B
JavaScript

import num from './es6module.js';
window.__es6injected = num;