update and document dependencies

This commit is contained in:
rolux 2012-05-25 11:41:31 +02:00
parent e06bf4889d
commit 25ce36c92e

View file

@ -87,11 +87,16 @@ def build_oxjs(downloads=False, geo=False):
write_link(link_source, link_target) write_link(link_source, link_target)
# Ox.js # Ox.js
# FIXME: Document what exactly the following dependecies are!
filenames = [ filenames = [
['Fallback.js', 'Core.js'], [
# Constants.js needs Ox.toArray to determine Ox.PATH 'Core.js', # has to run first so that Ox is defined
['Array.js', 'Math.js'] 'Fallback.js' # FIXME: not clear if needed here
],
[
'Array.js', # Ox.PATH depends on Ox.toArray
'Collection.js', # Ox.toArray depends on Ox.slice
'Math.js' # Ox.MAX_LATITUDE depends on Ox.sinh
]
] ]
js = '' js = ''
js_dir = 'Ox/js/' js_dir = 'Ox/js/'