UNPKG

579 BPlain TextView Raw
1// Index to be used if Http is ever configured as a standalone npm package.
2// require('reflect-metadata');
3// require('es6-shim');
4// import {HTTP_PROVIDERS, JSONP_PROVIDERS, Http, Jsonp} from './http';
5// import {Injector} from 'angular2/core';
6// export * from './http';
7
8// /**
9// * TODO(jeffbcross): export each as their own top-level file, to require as:
10// * require('angular2/http'); require('http/jsonp');
11// */
12// export var http = Injector.resolveAndCreate([HTTP_PROVIDERS]).get(Http);
13// export var jsonp = Injector.resolveAndCreate([JSONP_PROVIDERS]).get(Jsonp);