aboutsummaryrefslogtreecommitdiff
path: root/compile.py
diff options
context:
space:
mode:
authorJustin Karneges <justin@affinix.com>2013-01-30 18:04:45 -0800
committerJustin Karneges <justin@affinix.com>2013-01-30 18:04:45 -0800
commite250b987e90ae0aa867f3846abe02ddf6eec976e (patch)
treee7ae81d6158df74478c66b0ac0a506492ef3d42a /compile.py
parentc75ea0700ef944957051114cb347f8090249268d (diff)
downloadpollymer-e250b987e90ae0aa867f3846abe02ddf6eec976e.tar
pollymer-e250b987e90ae0aa867f3846abe02ddf6eec976e.tar.gz
set DEBUG = false when minimizing
Diffstat (limited to 'compile.py')
-rwxr-xr-xcompile.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/compile.py b/compile.py
index 28247eb..74c06a7 100755
--- a/compile.py
+++ b/compile.py
@@ -5,9 +5,7 @@ import httplib, urllib, sys
# Define the parameters for the POST request and encode them in
# a URL-safe format.
-file = open(sys.argv[1])
-js_code = file.read()
-file.close()
+js_code = sys.stdin.read()
params = urllib.urlencode([
('js_code', js_code),