better classes, more spec compliant and nicer output - fixes #952
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
"use strict";
|
||||
|
||||
var Test = (function () {
|
||||
function Test() {
|
||||
babelHelpers.classCallCheck(this, Test);
|
||||
}
|
||||
var _Test = function Test() {
|
||||
babelHelpers.classCallCheck(this, _Test);
|
||||
};
|
||||
|
||||
babelHelpers.createClass(Test, {
|
||||
babelHelpers.createClass(_Test, {
|
||||
test: {
|
||||
value: function test() {
|
||||
return 5 + 5;
|
||||
}
|
||||
}
|
||||
});
|
||||
return Test;
|
||||
return _Test;
|
||||
})();
|
||||
Reference in New Issue
Block a user