From 878fce648291812d5d799443cf91449f0967539f Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Thu, 26 Mar 2015 17:32:48 +0100 Subject: [PATCH] fix(ts): ts doesn't like ";;" --- .../src/change_detection/change_detection_jit_generator.es6 | 2 +- .../angular2/test/change_detection/change_detection_spec.js | 6 +++--- modules/angular2/test/forms/model_spec.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/angular2/src/change_detection/change_detection_jit_generator.es6 b/modules/angular2/src/change_detection/change_detection_jit_generator.es6 index 66404fc72f..3ec631528b 100644 --- a/modules/angular2/src/change_detection/change_detection_jit_generator.es6 +++ b/modules/angular2/src/change_detection/change_detection_jit_generator.es6 @@ -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 { diff --git a/modules/angular2/test/change_detection/change_detection_spec.js b/modules/angular2/test/change_detection/change_detection_spec.js index a605acd5cb..0a90508380 100644 --- a/modules/angular2/test/change_detection/change_detection_spec.js +++ b/modules/angular2/test/change_detection/change_detection_spec.js @@ -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; } diff --git a/modules/angular2/test/forms/model_spec.js b/modules/angular2/test/forms/model_spec.js index 2f56fe1c60..d3155fb947 100644 --- a/modules/angular2/test/forms/model_spec.js +++ b/modules/angular2/test/forms/model_spec.js @@ -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() { }); }); }); -} \ No newline at end of file +}