Add ability to set global preload scripts

This commit is contained in:
Samuel Attard 2017-09-03 02:15:46 +10:00 committed by Cheng Zhao
parent d598aa1a67
commit 0ddd078aaf
10 changed files with 116 additions and 13 deletions

1
spec/fixtures/module/set-global-2.js vendored Normal file
View file

@ -0,0 +1 @@
if (!window.test) window.test = 'preload2'

View file

@ -1 +1 @@
window.test = 'preload'
if (!window.test) window.test = 'preload'