Skip to content

Commit 878fce6

Browse files
committed
fix(ts): ts doesn't like ";;"
1 parent b02bd65 commit 878fce6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

modules/angular2/src/change_detection/change_detection_jit_generator.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ export class ChangeDetectorJITGenerator {
360360
var addRecord = addSimpleChangeRecordTemplate(r.selfIndex - 1, oldValue, newValue);
361361
var notify = this.genNotify(r);
362362

363-
var check = referenceCheckTemplate(assignment, newValue, oldValue, change, r.lastInBinding ? addRecord : '', notify);;
363+
var check = referenceCheckTemplate(assignment, newValue, oldValue, change, r.lastInBinding ? addRecord : '', notify);
364364
if (r.isPureFunction()) {
365365
return this.ifChangedGuard(r, check);
366366
} else {

modules/angular2/test/change_detection/change_detection_spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export function main() {
200200

201201
expect(dispatcher.log).toEqual(["memo=BvalueA"]);
202202
});
203-
203+
204204
describe("change notification", () => {
205205
describe("simple checks", () => {
206206
it("should pass a change record to the dispatcher", () => {
@@ -284,7 +284,7 @@ export function main() {
284284
});
285285
});
286286
});
287-
287+
288288
describe("enforce no new changes", () => {
289289
it("should throw when a record gets changed after it has been checked", () => {
290290
var pcd = createProtoChangeDetector();
@@ -583,7 +583,7 @@ class OncePipe extends Pipe {
583583

584584
constructor() {
585585
super();
586-
this.called = false;;
586+
this.called = false;
587587
this.destroyCalled = false;
588588
}
589589

modules/angular2/test/forms/model_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, el,
22
AsyncTestCompleter, inject} from 'angular2/test_lib';
3-
import {ControlGroup, Control, ControlArray, Validators} from 'angular2/forms';;
3+
import {ControlGroup, Control, ControlArray, Validators} from 'angular2/forms';
44
import {ObservableWrapper} from 'angular2/src/facade/async';
55
import {ListWrapper} from 'angular2/src/facade/collection';
66

@@ -456,4 +456,4 @@ export function main() {
456456
});
457457
});
458458
});
459-
}
459+
}

0 commit comments

Comments
 (0)