summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2011-06-18 15:48:17 +0100
committerRichard Wall <richard@largo>2011-06-18 15:48:17 +0100
commit744cb1f8c46d46aef94283160b6ea27d1cf75ece (patch)
treec054ce548bc672c063deb97cb2ffc3a58a159939
parentba30d3162ebe010c9ed7ce2e3ae6a70366f9c98e (diff)
parse @ style closure params
-rw-r--r--jarmonbuild/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py
index 14d99a5..fc422d9 100644
--- a/jarmonbuild/commands.py
+++ b/jarmonbuild/commands.py
@@ -286,7 +286,7 @@ class BuildJavascriptDependenciesCommand(BuildCommand):
for line in open(depjs_path):
line = line.strip()
if line.startswith('//'):
- key, val = line.lstrip('/').strip().split(':', 1)
+ key, val = line.lstrip('/ @').strip().split(':', 1)
params.append((key.strip(), val.strip()))
# Always use the following value for the Content-type header.