| Index: sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
|
| diff --git a/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate b/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
|
| index 0e0a02dca606e229dbad2b79ca28f61b7c82d9fd..213f434afbfc949a3d5583387a4ed07f9e5603d4 100644
|
| --- a/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
|
| +++ b/sdk/lib/html/templates/html/impl/impl_HttpRequest.darttemplate
|
| @@ -5,11 +5,13 @@
|
| part of html;
|
|
|
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| - factory $CLASSNAME.get(String url, onSuccess($CLASSNAME request)) =>
|
| - _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onSuccess);
|
| + factory $CLASSNAME.get(String url, onComplete($CLASSNAME request)) =>
|
| + _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onComplete);
|
|
|
| - factory $CLASSNAME.getWithCredentials(String url, onSuccess($CLASSNAME request)) =>
|
| - _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url, onSuccess);
|
| + factory $CLASSNAME.getWithCredentials(String url,
|
| + onComplete($CLASSNAME request)) =>
|
| + _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url,
|
| + onComplete);
|
|
|
| $!MEMBERS
|
| }
|
|
|