| Index: lib/html/templates/html/dart2js/factoryprovider.darttemplate
|
| diff --git a/lib/html/templates/html/dart2js/factoryprovider.darttemplate b/lib/html/templates/html/dart2js/factoryprovider.darttemplate
|
| index 44892ef6b69e89055e8b4266c3f81e03c595c21d..bf8743d75c49e27e1828328543acb67058d8b851 100644
|
| --- a/lib/html/templates/html/dart2js/factoryprovider.darttemplate
|
| +++ b/lib/html/templates/html/dart2js/factoryprovider.darttemplate
|
| @@ -3,6 +3,6 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class $FACTORYPROVIDER {
|
| - static $CONSTRUCTOR create$(CONSTRUCTOR)($PARAMETERS) native
|
| - '''return new $NAMED_CONSTRUCTOR($ARGUMENTS);''';
|
| + static $CONSTRUCTOR create$(CONSTRUCTOR)($PARAMETERS) =>
|
| + JS('$CONSTRUCTOR', 'new $NAMED_CONSTRUCTOR($ARGUMENTS_PATTERN)'$PRE_ARGUMENTS_COMMA $ARGUMENTS);
|
| }
|
|
|