OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of html; | 5 part of html; |
6 | 6 |
7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
8 factory $CLASSNAME.get(String url, onSuccess($CLASSNAME request)) => | 8 factory $CLASSNAME.get(String url, onSuccess($CLASSNAME request)) => |
9 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onSuccess); | 9 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onSuccess); |
10 | 10 |
11 factory $CLASSNAME.getWithCredentials(String url, onSuccess($CLASSNAME request
)) => | 11 factory $CLASSNAME.getWithCredentials(String url, onSuccess($CLASSNAME request
)) => |
12 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)getWithCredentials(url, onS
uccess); | 12 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url, on
Success); |
13 | 13 |
14 $!MEMBERS | 14 $!MEMBERS |
15 } | 15 } |
OLD | NEW |