Merge pull request #59 from arachnidlabs/nowarn

Modify the build script to specify ECMASCRIPT5 as the language to the closure compiler
zeedee
gasolin 7 years ago
commit e051758d6f
  1. 1
      blockly/build.py

@ -244,6 +244,7 @@ class Gen_compressed(threading.Thread):
def do_compile(self, params, target_filename, filenames, remove):
# Send the request to Google.
params.append(("language", "ECMASCRIPT5"))
headers = {"Content-type": "application/x-www-form-urlencoded"}
conn = httplib.HTTPConnection("closure-compiler.appspot.com")
conn.request("POST", "/compile", urllib.urlencode(params), headers)

Loading…
Cancel
Save