run Core.js before Fallback.js

This commit is contained in:
rolux 2012-05-26 14:33:25 +02:00
parent 033155cc51
commit 17eaa924b9

View file

@ -89,12 +89,12 @@ def build_oxjs(downloads=False, geo=False):
# Ox.js # Ox.js
filenames = [ filenames = [
[ [
'Core.js', # has to run first so that Ox is defined 'Core.js' # has to run first so that Ox is defined
'Fallback.js' # FIXME: not clear if needed here
], ],
[ [
'Array.js', # Ox.PATH depends on Ox.toArray 'Array.js', # Ox.PATH depends on Ox.toArray
'Collection.js', # Ox.toArray depends on Ox.slice 'Collection.js', # Ox.toArray depends on Ox.slice
'Fallback.js', # FIXME: not clear if needed here
'Math.js', # Ox.MAX_LATITUDE depends on Ox.sinh 'Math.js', # Ox.MAX_LATITUDE depends on Ox.sinh
'Object.js', # Ox.typeOf depends on Ox.hasOwn 'Object.js', # Ox.typeOf depends on Ox.hasOwn
'Type.js' # Ox.slice may depend on Ox.typeOf 'Type.js' # Ox.slice may depend on Ox.typeOf