diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-13 11:27:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-13 11:27:22 -0800 |
commit | 8263e2377f6cbbb88523aefeb86123e1a6887f1a (patch) | |
tree | 044cacf306add04577df3c490649fb94ac4390c7 /tools/reproduceriter.py | |
parent | eb6144f24f3379b6de5e59a3811dcaa1514c2b00 (diff) |
headless option
Diffstat (limited to 'tools/reproduceriter.py')
-rwxr-xr-x | tools/reproduceriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/reproduceriter.py b/tools/reproduceriter.py index a1912396..058eeecf 100755 --- a/tools/reproduceriter.py +++ b/tools/reproduceriter.py @@ -149,7 +149,7 @@ for parent, dirs, files in os.walk(out_dir): print 'add boilerplate...' open(os.path.join(out_dir, first_js), 'w').write( - (open(os.path.join(os.path.dirname(__file__), 'reproduceriter_shell.js')).read() % ( + (open(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'src', 'headless.js')).read() % ( window_location, window_location.split('?')[-1], on_idle or 'null', dirs_to_drop ) if shell else '') + open(os.path.join(os.path.dirname(__file__), 'reproduceriter.js')).read() + |