fix(ts): ts doesn't like ";;"
This commit is contained in:
parent
b02bd65871
commit
878fce6482
|
@ -360,7 +360,7 @@ export class ChangeDetectorJITGenerator {
|
||||||
var addRecord = addSimpleChangeRecordTemplate(r.selfIndex - 1, oldValue, newValue);
|
var addRecord = addSimpleChangeRecordTemplate(r.selfIndex - 1, oldValue, newValue);
|
||||||
var notify = this.genNotify(r);
|
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()) {
|
if (r.isPureFunction()) {
|
||||||
return this.ifChangedGuard(r, check);
|
return this.ifChangedGuard(r, check);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -583,7 +583,7 @@ class OncePipe extends Pipe {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.called = false;;
|
this.called = false;
|
||||||
this.destroyCalled = false;
|
this.destroyCalled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, el,
|
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach, el,
|
||||||
AsyncTestCompleter, inject} from 'angular2/test_lib';
|
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 {ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {ListWrapper} from 'angular2/src/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue