Chromium Code Reviews| Index: lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate |
| diff --git a/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate |
| index e56d2b6474f7fc34c216ad7735b11f9fd1798444..1bf02ab920d26931808695e9fdcf1683bf3ce45c 100644 |
| --- a/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate |
| +++ b/lib/html/templates/html/dart2js/factoryprovider_OptionElement.darttemplate |
| @@ -3,8 +3,9 @@ |
| // BSD-style license that can be found in the LICENSE file. |
| class $FACTORYPROVIDER { |
| - factory OptionElement([String data = null, String value = null, |
| - bool defaultSelected = null, bool selected = null]) |
| + static OptionElement createOptionElement( |
| + [String data = null, String value = null, bool defaultSelected = null, |
|
Anton Muhin
2012/09/17 10:11:29
as you edit this code anyway, may you drop = null,
blois
2012/09/17 19:48:22
Done.
|
| + bool selected = null]) |
| native ''' |
| if (data == null) return new Option(); |
| if (value == null) return new Option(data); |