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 /// @domName $DOMNAME | 7 /// @domName $DOMNAME |
8 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 8 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
9 factory $CLASSNAME.get(String url, onComplete($CLASSNAME request)) => | 9 factory $CLASSNAME.get(String url, onComplete($CLASSNAME request)) => |
10 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onComplete); | 10 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_get(url, onComplete); |
11 | 11 |
12 factory $CLASSNAME.getWithCredentials(String url, | 12 factory $CLASSNAME.getWithCredentials(String url, |
13 onComplete($CLASSNAME request)) => | 13 onComplete($CLASSNAME request)) => |
14 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url, | 14 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_getWithCredentials(url, |
15 onComplete); | 15 onComplete); |
16 | 16 |
17 $!MEMBERS | 17 $!MEMBERS |
18 } | 18 } |
OLD | NEW |