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
filenames = [
[
'Core.js', # has to run first so that Ox is defined
'Fallback.js' # FIXME: not clear if needed here
'Core.js' # has to run first so that Ox is defined
],
[
'Array.js', # Ox.PATH depends on Ox.toArray
'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
'Object.js', # Ox.typeOf depends on Ox.hasOwn
'Type.js' # Ox.slice may depend on Ox.typeOf