https://github.com/angular/angular
Revision de4952a0c1e67abcf273b4872c88fdabc55cc210 authored by Jeff Cross on 24 June 2015, 03:46:03 UTC, committed by Jeff Cross on 26 June 2015, 00:14:42 UTC
BREAKING CHANGE: HttpFactory is no longer available. 
    This factory provided a function alternative to the `request` method of the
    Http class, but added no real value. The additional factory required an
    additional IHttp interface, an odd way to inject while preserving type information
    (`@Inject(HttpFactory) http:IHttp`), and required additional documentation in the
    http module.

Closes #2564
1 parent 71102fd
Raw File
Tip revision: de4952a0c1e67abcf273b4872c88fdabc55cc210 authored by Jeff Cross on 24 June 2015, 03:46:03 UTC
refactor(Http): remove HttpFactory
Tip revision: de4952a
karma-js.conf.js
// Karma configuration
// Generated on Thu Sep 25 2014 11:52:02 GMT-0700 (PDT)
module.exports = function(config) {
  config.set({

    frameworks: ['jasmine'],

    files: [
      // Sources and specs.
      // Loaded through the es6-module-loader, in `test-main.js`.
      {pattern: 'dist/js/dev/es5/**', included: false, watched: false},

      // zone-microtask must be included first as it contains a Promise monkey patch
      'node_modules/zone.js/dist/zone-microtask.js',
      'node_modules/zone.js/dist/long-stack-trace-zone.js',
      'node_modules/zone.js/dist/jasmine-patch.js',

      'node_modules/traceur/bin/traceur-runtime.js',
      'node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.src.js',
      // Including systemjs because it defines `__eval`, which produces correct stack traces.
      'node_modules/systemjs/dist/system.src.js',
      'node_modules/systemjs/lib/extension-register.js',
      'node_modules/systemjs/lib/extension-cjs.js',
      'node_modules/rx/dist/rx.js',
      'node_modules/reflect-metadata/Reflect.js',
      'tools/build/file2modulename.js',
      'test-main.js',
      {pattern: 'modules/**/test/**/static_assets/**', included: false, watched: false}
    ],

    exclude: [
      'dist/js/dev/es5/**/e2e_test/**',
    ],

    customLaunchers: {
      DartiumWithWebPlatform: {
        base: 'Dartium',
        flags: ['--enable-experimental-web-platform-features'] },
      ChromeNoSandbox: {
        base: 'Chrome',
        flags: ['--no-sandbox'] }
    },
    browsers: ['ChromeCanary'],

    port: 9876
  });
};
back to top