This implementation only works in JavaScript, while the Observable transpilation story gets worked out. Right now, the service just makes a simple request, and returns an Observable of Response. Additional functionality will be captured in separate issues. Fixes #2028
10 lines
226 B
Dart
10 lines
226 B
Dart
library angular2.src.http.backends.browser_xhr;
|
|
|
|
/// import 'dart:html' show HttpRequest;
|
|
/// import 'package:angular2/di.dart';
|
|
|
|
/// @Injectable()
|
|
/// class BrowserXHR {
|
|
/// factory BrowserXHR() => new HttpRequest();
|
|
/// }
|