update tests to work with new syntax
This commit is contained in:
parent
1f7270720f
commit
591f123670
@ -1,9 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Test = function() {
|
|
||||||
var Test = function Test() {
|
var Test = function Test() {
|
||||||
arr.map(x => x * x);
|
arr.map(x => x * x);
|
||||||
};
|
};
|
||||||
|
|
||||||
return Test;
|
|
||||||
}();
|
|
||||||
@ -13,14 +13,10 @@ var _extends = function (child, parent) {
|
|||||||
child.__proto__ = parent;
|
child.__proto__ = parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
var Test = function() {
|
|
||||||
var Test = function Test() {
|
var Test = function Test() {
|
||||||
this.state = "test";
|
this.state = "test";
|
||||||
};
|
};
|
||||||
|
|
||||||
return Test;
|
|
||||||
}();
|
|
||||||
|
|
||||||
var Foo = function(Bar) {
|
var Foo = function(Bar) {
|
||||||
var Foo = function Foo() {
|
var Foo = function Foo() {
|
||||||
this.state = "test";
|
this.state = "test";
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Test = function() {
|
|
||||||
var Test = function Test() {};
|
var Test = function Test() {};
|
||||||
return Test;
|
|
||||||
}();
|
|
||||||
@ -9,3 +9,9 @@ var BaseView = class {
|
|||||||
this.autoRender = true;
|
this.autoRender = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var BaseView = class {
|
||||||
|
foo() {
|
||||||
|
this.autoRender = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -1,17 +1,25 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var BaseView = function() {
|
|
||||||
var BaseView = function BaseView() {
|
var BaseView = function BaseView() {
|
||||||
this.autoRender = true;
|
this.autoRender = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
return BaseView;
|
|
||||||
}();
|
|
||||||
|
|
||||||
var BaseView = function() {
|
var BaseView = function() {
|
||||||
var _class = function() {
|
|
||||||
this.autoRender = true;
|
this.autoRender = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
return _class;
|
|
||||||
|
var BaseView = function() {
|
||||||
|
var _class2 = function() {};
|
||||||
|
|
||||||
|
Object.defineProperties(_class2.prototype, {
|
||||||
|
foo: {
|
||||||
|
writable: true,
|
||||||
|
value: function() {
|
||||||
|
this.autoRender = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return _class2;
|
||||||
}();
|
}();
|
||||||
@ -1,9 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Test = function() {
|
|
||||||
var Test = function Test() {
|
var Test = function Test() {
|
||||||
Function.prototype.hasOwnProperty.call(this, "test");
|
Function.prototype.hasOwnProperty.call(this, "test");
|
||||||
};
|
};
|
||||||
|
|
||||||
return Test;
|
|
||||||
}();
|
|
||||||
@ -1,3 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
wow;
|
wow;
|
||||||
|
/*
|
||||||
|
um yeah lol
|
||||||
|
*/
|
||||||
test.wow();
|
test.wow();
|
||||||
@ -1,3 +1,4 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
wow;
|
wow;
|
||||||
|
// um yeah lol
|
||||||
test.wow();
|
test.wow();
|
||||||
@ -1,2 +1,5 @@
|
|||||||
|
/** @jsx CUSTOM_DOM */
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
CUSTOM_DOM.a(null);
|
CUSTOM_DOM.a(null);
|
||||||
@ -12,4 +12,4 @@ var object = {
|
|||||||
this.v = let_v;
|
this.v = let_v;
|
||||||
} while (false);
|
} while (false);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|||||||
@ -7,15 +7,9 @@ define(["exports"], function (exports) {
|
|||||||
exports.default = foo;
|
exports.default = foo;
|
||||||
exports.default = function() {};
|
exports.default = function() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function() {};
|
||||||
var _class = function() {};
|
|
||||||
return _class;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.default = function foo() {};
|
exports.default = function foo() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function foo() {};
|
||||||
var foo = function foo() {};
|
|
||||||
return foo;
|
|
||||||
}();
|
|
||||||
});
|
});
|
||||||
|
|||||||
@ -16,10 +16,7 @@ define(["exports"], function (exports) {
|
|||||||
exports.foo6 = _foo6;
|
exports.foo6 = _foo6;
|
||||||
function foo7() {}
|
function foo7() {}
|
||||||
|
|
||||||
var foo8 = function() {
|
|
||||||
var foo8 = function foo8() {};
|
var foo8 = function foo8() {};
|
||||||
return foo8;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.foo8 = foo8;
|
exports.foo8 = foo8;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -5,14 +5,8 @@ exports.default = [];
|
|||||||
exports.default = foo;
|
exports.default = foo;
|
||||||
exports.default = function() {};
|
exports.default = function() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function() {};
|
||||||
var _class = function() {};
|
|
||||||
return _class;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.default = function foo() {};
|
exports.default = function foo() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function foo() {};
|
||||||
var foo = function foo() {};
|
|
||||||
return foo;
|
|
||||||
}();
|
|
||||||
|
|||||||
@ -14,9 +14,6 @@ var _foo6 = 3;
|
|||||||
exports.foo6 = _foo6;
|
exports.foo6 = _foo6;
|
||||||
function foo7() {}
|
function foo7() {}
|
||||||
|
|
||||||
var foo8 = function() {
|
|
||||||
var foo8 = function foo8() {};
|
var foo8 = function foo8() {};
|
||||||
return foo8;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.foo8 = foo8;
|
exports.foo8 = foo8;
|
||||||
@ -13,15 +13,9 @@
|
|||||||
exports.default = foo;
|
exports.default = foo;
|
||||||
exports.default = function() {};
|
exports.default = function() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function() {};
|
||||||
var _class = function() {};
|
|
||||||
return _class;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.default = function foo() {};
|
exports.default = function foo() {};
|
||||||
|
|
||||||
exports.default = function() {
|
exports.default = function foo() {};
|
||||||
var foo = function foo() {};
|
|
||||||
return foo;
|
|
||||||
}();
|
|
||||||
});
|
});
|
||||||
|
|||||||
@ -22,10 +22,7 @@
|
|||||||
exports.foo6 = _foo6;
|
exports.foo6 = _foo6;
|
||||||
function foo7() {}
|
function foo7() {}
|
||||||
|
|
||||||
var foo8 = function() {
|
|
||||||
var foo8 = function foo8() {};
|
var foo8 = function foo8() {};
|
||||||
return foo8;
|
|
||||||
}();
|
|
||||||
|
|
||||||
exports.foo8 = foo8;
|
exports.foo8 = foo8;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user