feat(change_detection): generate checkNoChanges only in dev mode

This commit is contained in:
vsavkin
2015-07-27 13:16:20 -07:00
parent a2bb81c406
commit 71bb4b3ee5
11 changed files with 68 additions and 31 deletions

View File

@ -23,7 +23,7 @@ export function main() {
beforeEach(() => {
proto = new SpyProtoChangeDetector();
def = new ChangeDetectorDefinition('id', null, [], [], []);
def = new ChangeDetectorDefinition('id', null, [], [], [], true);
});
it("should return a proto change detector when one is available", () => {