diff --git a/lib/jasmine-core.rb b/lib/jasmine-core.rb index 6ba57dd8..55a03fba 100644 --- a/lib/jasmine-core.rb +++ b/lib/jasmine-core.rb @@ -49,7 +49,7 @@ module Jasmine end def boot_files - ["boot.js"] + ["boot0.js", "boot1.js"] end def node_boot_files diff --git a/lib/jasmine-core/core.py b/lib/jasmine-core/core.py index 936e9b0f..51ef0b30 100644 --- a/lib/jasmine-core/core.py +++ b/lib/jasmine-core/core.py @@ -54,14 +54,14 @@ class Core(object): # jasmine.js needs to be first js_files.insert(0, 'jasmine.js') - # boot needs to be last + # Remove the legacy boot file 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. + # boot files need to be last js_files.remove('boot0.js') js_files.remove('boot1.js') + js_files.append('boot0.js') + js_files.append('boot1.js') return cls._uniq(js_files)