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

Unified Diff: sdk/lib/html/templates/html/dart2js/factoryprovider_TextTrackCue.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_TextTrackCue.darttemplate
diff --git a/sdk/lib/html/templates/html/dart2js/factoryprovider_TextTrackCue.darttemplate b/sdk/lib/html/templates/html/dart2js/factoryprovider_TextTrackCue.darttemplate
deleted file mode 100644
index c37ff39b01238e83709d3d15a55d1f2d8ce2732a..0000000000000000000000000000000000000000
--- a/sdk/lib/html/templates/html/dart2js/factoryprovider_TextTrackCue.darttemplate
+++ /dev/null
@@ -1,17 +0,0 @@
- static TextTrackCue _create(
- num startTime, num endTime, String text,
- [String settings, bool pauseOnExit]) {
- if (settings == null) {
- return JS('TextTrackCue',
- 'new TextTrackCue(#,#,#)',
- startTime, endTime, text);
- }
- if (pauseOnExit == null) {
- return JS('TextTrackCue',
- 'new TextTrackCue(#,#,#,#)',
- startTime, endTime, text, settings);
- }
- return JS('TextTrackCue',
- 'new TextTrackCue(#,#,#,#,#)',
- startTime, endTime, text, settings, pauseOnExit);
- }

Powered by Google App Engine
This is Rietveld 408576698