File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ def __init__(self):
139139 self .use_closure_compiler = None
140140 self .js_transform = None
141141 self .pre_js = '' # before all js
142- self .post_module = '' # in js, after Module exists
143142 self .post_js = '' # after all js
144143 self .preload_files = []
145144 self .embed_files = []
@@ -1606,11 +1605,9 @@ def get_final():
16061605 options .pre_js = file_code + options .pre_js
16071606
16081607 # Apply pre and postjs files
1609- if options .pre_js or options .post_module or options . post_js :
1608+ if options .pre_js or options .post_js :
16101609 logging .debug ('applying pre/postjses' )
16111610 src = open (final ).read ()
1612- if options .post_module :
1613- src = src .replace ('// {{PREAMBLE_ADDITIONS}}' , options .post_module + '\n // {{PREAMBLE_ADDITIONS}}' )
16141611 final += '.pp.js'
16151612 if WINDOWS : # Avoid duplicating \r\n to \r\r\n when writing out.
16161613 if options .pre_js :
You can’t perform that action at this time.
0 commit comments