| Index: lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
|
| diff --git a/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate b/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
|
| index b347c2f014c1ff24d7489c6384b25dd0c724bec0..43c442900a93a524e51a02a40fbd1f2cb6607e33 100644
|
| --- a/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
|
| +++ b/lib/html/templates/html/dartium/factoryprovider_HttpRequest.darttemplate
|
| @@ -3,14 +3,14 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class $FACTORYPROVIDER {
|
| - factory $INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS);
|
| + static $INTERFACE create$INTERFACE($PARAMETERS) => _create$INTERFACE($ARGUMENTS);
|
| static $INTERFACE _create$INTERFACE($PARAMETERS) native "$NATIVE_NAME";
|
|
|
| - factory HttpRequest.get(String url,
|
| + static HttpRequest createHttpRequest_get(String url,
|
| onSuccess(HttpRequest request)) =>
|
| _HttpRequestUtils.get(url, onSuccess, false);
|
|
|
| - factory HttpRequest.getWithCredentials(String url,
|
| + static HttpRequest createHttpRequest_getWithCredentials(String url,
|
| onSuccess(HttpRequest request)) =>
|
| _HttpRequestUtils.get(url, onSuccess, true);
|
| }
|
|
|