fix(build): support transpile to commonjs

This commit is contained in:
Tobias Bosch
2015-02-11 11:40:29 -08:00
parent fc1b791a7a
commit 013e1faf27
44 changed files with 189 additions and 112 deletions

View File

@ -1,5 +1,5 @@
import {List, ListWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
import {normalizeBlank, isPresent} from 'angular2/src/facade/lang';
import {normalizeBlank, isPresent, global} from 'angular2/src/facade/lang';
export class VmTurnZone {
_outerZone;
@ -17,7 +17,7 @@ export class VmTurnZone {
this._onTurnDone = null;
this._onErrorHandler = null;
this._outerZone = window.zone;
this._outerZone = global.zone;
this._innerZone = this._createInnerZone(this._outerZone, enableLongStackTrace);
}