Adding support for closure compiler and some documentation

in the README about how to use it.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11448 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2011-02-24 23:19:53 +00:00
parent 8d2bbfe28f
commit d06c66edab
4 changed files with 67 additions and 8 deletions

View File

@@ -22,5 +22,7 @@ def minimize(code):
response = conn.getresponse()
data = response.read()
conn.close()
print "%.3f seconds to compile", time.time() - t
if data.startswith("Error"):
raise Exception(data)
print "%.3f seconds to compile" % (time.time() - t)
return data