fix(ts): ts doesn't like ";;"

This commit is contained in:
Victor Berchet 2015-03-26 17:32:48 +01:00
parent b02bd65871
commit 878fce6482
3 changed files with 6 additions and 6 deletions

View File

@ -360,7 +360,7 @@ export class ChangeDetectorJITGenerator {
var addRecord = addSimpleChangeRecordTemplate(r.selfIndex - 1, oldValue, newValue);
var notify = this.genNotify(r);
var check = referenceCheckTemplate(assignment, newValue, oldValue, change, r.lastInBinding ? addRecord : '', notify);;
var check = referenceCheckTemplate(assignment, newValue, oldValue, change, r.lastInBinding ? addRecord : '', notify);
if (r.isPureFunction()) {
return this.ifChangedGuard(r, check);
} else {

View File

@ -200,7 +200,7 @@ export function main() {
expect(dispatcher.log).toEqual(["memo=BvalueA"]);
});
describe("change notification", () => {
describe("simple checks", () => {
it("should pass a change record to the dispatcher", () => {
@ -284,7 +284,7 @@ export function main() {
});
});
});
describe("enforce no new changes", () => {
it("should throw when a record gets changed after it has been checked", () => {
var pcd = createProtoChangeDetector();
@ -583,7 +583,7 @@ class OncePipe extends Pipe {
constructor() {
super();
this.called = false;;
this.called = false;
this.destroyCalled = false;
}

View File

@ -1,6 +1,6 @@
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, el,
AsyncTestCompleter, inject} from 'angular2/test_lib';
import {ControlGroup, Control, ControlArray, Validators} from 'angular2/forms';;
import {ControlGroup, Control, ControlArray, Validators} from 'angular2/forms';
import {ObservableWrapper} from 'angular2/src/facade/async';
import {ListWrapper} from 'angular2/src/facade/collection';
@ -456,4 +456,4 @@ export function main() {
});
});
});
}
}