Split boot.js in two to allow the env to be configured in between
This is mainly intended to support jasmine-browser-runner, which will load a script that configures the env in between the two boot files (boot0.js and boot1.js). The single-file boot.js is retained for now but will be removed in a future release.
This commit is contained in:
@@ -58,6 +58,11 @@ class Core(object):
|
||||
js_files.remove('boot.js')
|
||||
js_files.append('boot.js')
|
||||
|
||||
# Remove the new boot files. jasmine-py will continue to use the legacy
|
||||
# boot.js.
|
||||
js_files.remove('boot0.js')
|
||||
js_files.remove('boot1.js')
|
||||
|
||||
return cls._uniq(js_files)
|
||||
|
||||
@classmethod
|
||||
@@ -86,4 +91,4 @@ class Core(object):
|
||||
|
||||
seen[marker] = 1
|
||||
result.append(item)
|
||||
return result
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user