From 71e87448f529dc639879e66af8294619257e97e4 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 12 Jun 2011 17:14:06 +0100 Subject: link directly to dependency files --- docs/examples/index.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'docs/examples/index.html') diff --git a/docs/examples/index.html b/docs/examples/index.html index 2bec8aa..44b10af 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -11,7 +11,18 @@ - + + + + + + + + + + + + -- cgit v1.2.3-54-g00ecf From e4a7e36fb85be64424ff1fb876d073baafc354c8 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sat, 18 Jun 2011 15:17:17 +0100 Subject: write in chunks --- docs/examples/index.html | 2 +- jarmonbuild/commands.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/examples/index.html') diff --git a/docs/examples/index.html b/docs/examples/index.html index 44b10af..9f8f1a8 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -11,7 +11,7 @@ - + diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py index 2fb2a00..d8d11cd 100644 --- a/jarmonbuild/commands.py +++ b/jarmonbuild/commands.py @@ -301,7 +301,9 @@ class BuildJavascriptDependenciesCommand(BuildCommand): with open(os.path.join(build_dir, 'dependencies.js'), 'w') as f: for param in params: f.write('// %s: %s\n' % param) - f.write(response.read()) + + while not response.isclosed(): + f.write(response.read(1024 * 10)) conn.close -- cgit v1.2.3-54-g00ecf From 2c5d62013d638b20c1dd2eaa17494998a55115c1 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sat, 18 Jun 2011 15:54:59 +0100 Subject: Use dependencies.js in example app --- docs/examples/index.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'docs/examples/index.html') diff --git a/docs/examples/index.html b/docs/examples/index.html index 9f8f1a8..14559e3 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -11,19 +11,7 @@ - - - - - - - - - - - - - +