browser_xhr.js
999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* 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 { Injectable } from '@angular/core';
/**
* A backend for http that uses the `XMLHttpRequest` browser API.
*
* Take care not to evaluate this in non-browser contexts.
*
* \@experimental
*/
export var BrowserXhr = (function () {
function BrowserXhr() {
}
/**
* @return {?}
*/
BrowserXhr.prototype.build = function () { return ((new XMLHttpRequest())); };
BrowserXhr.decorators = [
{ type: Injectable },
];
/** @nocollapse */
BrowserXhr.ctorParameters = function () { return []; };
return BrowserXhr;
}());
function BrowserXhr_tsickle_Closure_declarations() {
/** @type {?} */
BrowserXhr.decorators;
/**
* @nocollapse
* @type {?}
*/
BrowserXhr.ctorParameters;
}
//# sourceMappingURL=browser_xhr.js.map