Accepted baselines.
This commit is contained in:
parent
7da4b857f2
commit
0de57d9707
13 changed files with 28 additions and 14 deletions
|
@ -116,7 +116,8 @@ var Base = (function () {
|
|||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
return _super.call(this, function () { return _this; }) || this;
|
||||
var _this = _super.call(this, function () { return _this; }) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
@ -157,7 +158,8 @@ var M2;
|
|||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
return _super.call(this, function () { return _this; }) || this;
|
||||
var _this = _super.call(this, function () { return _this; }) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
|
|
@ -22,7 +22,8 @@ var A = (function () {
|
|||
var B = (function (_super) {
|
||||
__extends(B, _super);
|
||||
function B() {
|
||||
return _super.call(this, { test: function () { return _this.someMethod(); } }) || this;
|
||||
var _this = _super.call(this, { test: function () { return _this.someMethod(); } }) || this;
|
||||
return _this;
|
||||
}
|
||||
B.prototype.someMethod = function () { };
|
||||
return B;
|
||||
|
|
|
@ -25,7 +25,8 @@ var Based = (function () {
|
|||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
return _super.call(this, this.x) || this;
|
||||
var _this = _super.call(this, _this.x) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Based));
|
||||
|
|
|
@ -23,7 +23,8 @@ var Base = (function () {
|
|||
var Super = (function (_super) {
|
||||
__extends(Super, _super);
|
||||
function Super() {
|
||||
return _super.call(this, (function () { return _this; })) || this;
|
||||
var _this = _super.call(this, (function () { return _this; })) || this;
|
||||
return _this;
|
||||
}
|
||||
return Super;
|
||||
}(Base));
|
||||
|
|
|
@ -42,7 +42,8 @@ var Base = (function () {
|
|||
var Derived = (function (_super) {
|
||||
__extends(Derived, _super);
|
||||
function Derived() {
|
||||
return _super.call(this, _this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return Derived;
|
||||
}(Base));
|
||||
|
|
|
@ -24,7 +24,8 @@ var Base = (function () {
|
|||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
return _super.call(this, function () { _this._t; }) || this;
|
||||
var _this = _super.call(this, function () { _this._t; }) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(Base));
|
||||
|
|
|
@ -24,7 +24,8 @@ var Base = (function () {
|
|||
var D = (function (_super) {
|
||||
__extends(D, _super);
|
||||
function D() {
|
||||
return _super.call(this, this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return D;
|
||||
}(Base));
|
||||
|
|
|
@ -40,7 +40,8 @@ var C1 = (function (_super) {
|
|||
var C2 = (function (_super) {
|
||||
__extends(C2, _super);
|
||||
function C2() {
|
||||
return _super.call(this, _super.x.call(_this)) || this;
|
||||
var _this = _super.call(this, _super.x.call(_this)) || this;
|
||||
return _this;
|
||||
}
|
||||
return C2;
|
||||
}(B));
|
||||
|
|
|
@ -70,7 +70,8 @@ var ClassWithNoInitializer = (function (_super) {
|
|||
__extends(ClassWithNoInitializer, _super);
|
||||
//'this' in optional super call
|
||||
function ClassWithNoInitializer() {
|
||||
return _super.call(this, _this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return ClassWithNoInitializer;
|
||||
}(BaseErrClass));
|
||||
|
|
|
@ -71,7 +71,8 @@ var ClassWithNoInitializer = (function (_super) {
|
|||
__extends(ClassWithNoInitializer, _super);
|
||||
//'this' in optional super call
|
||||
function ClassWithNoInitializer() {
|
||||
return _super.call(this, _this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return ClassWithNoInitializer;
|
||||
}(BaseErrClass));
|
||||
|
|
|
@ -36,7 +36,8 @@ var Base = (function () {
|
|||
var Foo = (function (_super) {
|
||||
__extends(Foo, _super);
|
||||
function Foo() {
|
||||
return _super.call(this, _this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return Foo;
|
||||
}(Base));
|
||||
|
|
|
@ -33,7 +33,8 @@ var Base = (function () {
|
|||
var Foo = (function (_super) {
|
||||
__extends(Foo, _super);
|
||||
function Foo() {
|
||||
return _super.call(this, _this) || this;
|
||||
var _this = _super.call(this, _this) || this;
|
||||
return _this;
|
||||
}
|
||||
return Foo;
|
||||
}(Base));
|
||||
|
|
|
@ -24,7 +24,8 @@ var Base = (function () {
|
|||
var Super = (function (_super) {
|
||||
__extends(Super, _super);
|
||||
function Super() {
|
||||
return _super.call(this, (function () { return _this; })()) || this;
|
||||
var _this = _super.call(this, (function () { return _this; })()) || this;
|
||||
return _this;
|
||||
}
|
||||
return Super;
|
||||
}(Base));
|
||||
|
|
Loading…
Reference in a new issue