summaryrefslogtreecommitdiff
path: root/jarmonbuild
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-06-18 15:49:53 +0100
committerRichard Wall <richard@largo>2011-06-18 15:49:53 +0100
commit17de37c2f6d5cefebdac506340c79bb42df66a3b (patch)
treef9ddde267901d2e5eaec32d8c7145f3121842f59 /jarmonbuild
parent744cb1f8c46d46aef94283160b6ea27d1cf75ece (diff)
parse @ style closure params
Diffstat (limited to 'jarmonbuild')
-rw-r--r--jarmonbuild/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py
index fc422d9..1aaa155 100644
--- a/jarmonbuild/commands.py
+++ b/jarmonbuild/commands.py
@@ -285,8 +285,8 @@ class BuildJavascriptDependenciesCommand(BuildCommand):
params = []
for line in open(depjs_path):
line = line.strip()
- if line.startswith('//'):
- key, val = line.lstrip('/ @').strip().split(':', 1)
+ if line.startswith('// @'):
+ key, val = line.lstrip('/ @').strip().split(None, 1)
params.append((key.strip(), val.strip()))
# Always use the following value for the Content-type header.