fix(platform-browser-dynamic): Add @Injectable() annotation to XHRImpl.

Otherwise Closure compiled code will complain that the class is missing the annootation.
This commit is contained in:
Vikram Subramanian 2016-07-11 17:19:18 -07:00
parent 2ff83324af
commit 7b31178546
1 changed files with 2 additions and 1 deletions

View File

@ -5,12 +5,13 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {XHR} from '@angular/compiler';
import {Injectable} from '@angular/core';
import {isPresent} from '../facade/lang';
import {PromiseCompleter, PromiseWrapper} from '../facade/promise';
@Injectable()
export class XHRImpl extends XHR {
get(url: string): Promise<string> {
var completer: PromiseCompleter<string> = PromiseWrapper.completer();