summaryrefslogtreecommitdiff
path: root/jarmonbuild/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'jarmonbuild/commands.py')
-rw-r--r--jarmonbuild/commands.py22
1 files changed, 16 insertions, 6 deletions
diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py
index d60615a..5dfa10e 100644
--- a/jarmonbuild/commands.py
+++ b/jarmonbuild/commands.py
@@ -280,12 +280,22 @@ class BuildJavascriptDependenciesCommand(BuildCommand):
'docs/examples/assets/js/dependencies.js')
# Get the closure params from the original file
- params = []
- for line in open(depjs_path):
- line = line.strip()
- if line.startswith('// @'):
- key, val = line.lstrip('/ @').strip().split(None, 1)
- params.append((key.strip(), val.strip()))
+ params = [
+ ('code_url', 'http://code.jquery.com/jquery-1.6.3.js'),
+ ('code_url', 'https://raw.github.com/flot/flot/master/excanvas.js'),
+ ('code_url', 'https://raw.github.com/flot/flot/master/jquery.flot.js'),
+ ('code_url', 'https://raw.github.com/flot/flot/master/jquery.flot.stack.js'),
+ ('code_url', 'https://raw.github.com/flot/flot/master/jquery.flot.selection.js'),
+ ('code_url', 'http://javascriptrrd.cvs.sourceforge.net/viewvc/javascriptrrd/v0/src/lib/rrdFile.js'),
+ ('code_url', 'http://javascriptrrd.cvs.sourceforge.net/viewvc/javascriptrrd/v0/src/lib/binaryXHR.js'),
+ ('code_url', 'https://raw.github.com/jquerytools/jquerytools/dev/src/dateinput/dateinput.js'),
+ ('code_url', 'https://raw.github.com/jquerytools/jquerytools/dev/src/tabs/tabs.js'),
+ ('code_url', 'https://raw.github.com/jquerytools/jquerytools/dev/src/toolbox/toolbox.history.js'),
+ ('compilation_level', 'SIMPLE_OPTIMIZATIONS'),
+ ('formatting', 'print_input_delimiter'),
+ ('output_format', 'text'),
+ ('output_info', 'compiled_code'),
+ ]
# Always use the following value for the Content-type header.
headers = { "Content-type": "application/x-www-form-urlencoded" }