new build system: build in /build, dev version in /dev; split up Ox.js; fix tests

This commit is contained in:
rolux 2011-10-07 03:04:47 +02:00
commit d0fe279a0f
366 changed files with 8165 additions and 161926 deletions

View file

@ -9,8 +9,6 @@ import ox
import re
"""
run this, then html/geo.html, then py/fix_json.py
311 countries
-- sovereign, dependent and disputed countries according to
http://en.wikipedia.org/wiki/List_of_sovereign_states
@ -26,6 +24,10 @@ both will used by html/geo.html
"""
base_path = os.path.dirname(__file__)
if base_path:
os.chdir(base_path)
MIN_LAT = -math.degrees(math.atan(math.sinh(math.pi)))
geo = {