22 lines
782 B
TypeScript
Raw Normal View History

/**
* @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');
// require('core-js');
// import {HTTP_PROVIDERS, JSONP_PROVIDERS, Http, Jsonp} from './http';
// import {Injector} from '@angular/core';
2015-08-20 14:28:25 -07:00
// export * from './http';
2015-08-20 14:28:25 -07:00
// /**
// * TODO(jeffbcross): export each as their own top-level file, to require as:
// * require('@angular/http'); require('http/jsonp');
2015-08-20 14:28:25 -07:00
// */
// export var http = Injector.resolveAndCreate([HTTP_PROVIDERS]).get(Http);
// export var jsonp = Injector.resolveAndCreate([JSONP_PROVIDERS]).get(Jsonp);