name additional methods that are now covered since the naming is done in tandem

This commit is contained in:
Sebastian McKenzie 2015-05-08 00:22:43 +01:00
parent 6e8ab16b25
commit 8daf95bf59
7 changed files with 16 additions and 13 deletions

View File

@ -1 +1,4 @@
export { bare as FunctionExpression, bare as ArrowFunctionExpression } from "../../helpers/name-method";
export {
bare as FunctionExpression,
bare as ArrowFunctionExpression
} from "../../helpers/name-method";

View File

@ -8,8 +8,8 @@ var Foo = (function () {
babelHelpers.createDecoratedClass(Foo, [{
key: "foo",
decorators: [bar, foo],
get: function () {},
set: function (bar) {}
get: function get() {},
set: function set(bar) {}
}]);
return Foo;
})();
})();

View File

@ -8,7 +8,7 @@ var Foo = (function () {
babelHelpers.createDecoratedClass(Foo, [{
key: "foo",
decorators: [bar],
get: function () {}
get: function get() {}
}]);
return Foo;
})();
})();

View File

@ -11,10 +11,10 @@ var Foo = (function () {
babelHelpers.createDecoratedClass(Foo, [{
key: "foo",
decorators: [bar],
initializer: function () {
initializer: function initializer() {
return "Bar";
},
enumerable: true
}], null, _instanceInitializers);
return Foo;
})();
})();

View File

@ -10,11 +10,11 @@ var Foo = (function () {
babelHelpers.createDecoratedClass(Foo, null, [{
key: "foo",
decorators: [bar],
initializer: function () {
initializer: function initializer() {
return "Bar";
},
enumerable: true
}], null, _staticInitializers);
babelHelpers.defineDecoratedPropertyDescriptor(Foo, "foo", _staticInitializers);
return Foo;
})();
})();

View File

@ -8,7 +8,7 @@ var Foo = (function () {
babelHelpers.createDecoratedClass(Foo, [{
key: "foo",
decorators: [bar],
set: function (arg) {}
set: function set(arg) {}
}]);
return Foo;
})();
})();

View File

@ -17,4 +17,4 @@ var obj = babelHelpers.createDecoratedObject([{
initializer: function initializer() {
return "wow";
}
}]);
}]);