Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1568)

Unified Diff: samples/third_party/dromaeo/generate_dart2js_tests.py

Issue 22488002: Tightening up dart2js load timing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/browser/lib/dart.js ('k') | sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/generate_dart2js_tests.py
diff --git a/samples/third_party/dromaeo/generate_dart2js_tests.py b/samples/third_party/dromaeo/generate_dart2js_tests.py
index 1c33f9d35b8b248bdb5738ab0e8e6e691966c17a..261c0a65fa7271254f98622b886fb882f43570bc 100755
--- a/samples/third_party/dromaeo/generate_dart2js_tests.py
+++ b/samples/third_party/dromaeo/generate_dart2js_tests.py
@@ -48,7 +48,7 @@ def HtmlConvert(infile, compiler):
else:
raise 'Illegal input: ' + infile
- pattern = r'<script type="application/dart" src="([\w-]+).dart">'
+ pattern = r'<script type="application/dart" src="([\w-]+).dart" defer>'
infile = open(tail, 'r')
outfilename = os.path.join(outdir, tail.replace('.html', '-js.html'))
outfile = open(outfilename, 'w')
« no previous file with comments | « pkg/browser/lib/dart.js ('k') | sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698