| Index: lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate
|
| diff --git a/lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate b/lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate
|
| index e1f652b7bdee61e263b7cdb9a85ddc256620a304..1d35b61bda056ece875e2975057b8ae5a2a57c4e 100644
|
| --- a/lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate
|
| +++ b/lib/html/templates/html/dart2js/factoryprovider_HttpRequest.darttemplate
|
| @@ -3,7 +3,8 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class $FACTORYPROVIDER {
|
| - static HttpRequest createHttpRequest() native 'return new XMLHttpRequest();';
|
| + static HttpRequest createHttpRequest() =>
|
| + JS('HttpRequest', 'new XMLHttpRequest();');
|
|
|
| static HttpRequest createHttpRequest_get(String url,
|
| onSuccess(HttpRequest request)) =>
|
|
|