fix(angular_1_router): Renamed require statements after TypeScript files are transpiled

The require function was causing failures when bundled using Browserify and SystemJS

Closes #7049
This commit is contained in:
Brandon Roberts
2016-02-11 21:54:29 -06:00
committed by Brandon
parent 11e8aa26f6
commit ae49085481
2 changed files with 10 additions and 4 deletions

View File

@ -17,7 +17,7 @@ function routerFactory($q, $location, $$directiveIntrospector, $browser, $rootSc
OpaqueToken: function () {},
Inject: function () {}
};
var require = function () {return exports;};
var routerRequire = function () {return exports;};
// When this file is processed, the line below is replaced with
// the contents of the compiled TypeScript classes.