2016-06-23 09:47:54 -07:00
|
|
|
/**
|
|
|
|
* @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
|
|
|
|
*/
|
|
|
|
|
2015-08-20 14:28:25 -07:00
|
|
|
// Index to be used if Http is ever configured as a standalone npm package.
|
|
|
|
// require('reflect-metadata');
|
2016-08-26 02:28:36 +02:00
|
|
|
// require('core-js');
|
2015-10-10 22:11:13 -07:00
|
|
|
// import {HTTP_PROVIDERS, JSONP_PROVIDERS, Http, Jsonp} from './http';
|
2016-04-28 17:50:03 -07:00
|
|
|
// import {Injector} from '@angular/core';
|
2015-08-20 14:28:25 -07:00
|
|
|
// export * from './http';
|
2015-07-28 13:10:25 -07:00
|
|
|
|
2015-08-20 14:28:25 -07:00
|
|
|
// /**
|
|
|
|
// * TODO(jeffbcross): export each as their own top-level file, to require as:
|
2016-04-28 17:50:03 -07:00
|
|
|
// * require('@angular/http'); require('http/jsonp');
|
2015-08-20 14:28:25 -07:00
|
|
|
// */
|
2015-10-10 22:11:13 -07:00
|
|
|
// export var http = Injector.resolveAndCreate([HTTP_PROVIDERS]).get(Http);
|
|
|
|
// export var jsonp = Injector.resolveAndCreate([JSONP_PROVIDERS]).get(Jsonp);
|