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

Unified Diff: sdk/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate

Issue 11697007: Generate static factories with optional arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
Index: sdk/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate b/sdk/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
deleted file mode 100644
index 592371e1e8392ff4bee9ca2c9757ca858d47b587..0000000000000000000000000000000000000000
--- a/sdk/lib/html/templates/html/dart2js/factoryprovider_SharedWorker.darttemplate
+++ /dev/null
@@ -1,4 +0,0 @@
- static SharedWorker _create(String scriptURL, [String name]) {
- if (name == null) return JS('SharedWorker', 'new SharedWorker(#)', scriptURL);
- return JS('SharedWorker', 'new SharedWorker(#,#)', scriptURL, name);
- }

Powered by Google App Engine
This is Rietveld 408576698