don't use initializer property for decorators on concise methods in object literals

This commit is contained in:
Sebastian McKenzie
2015-06-01 22:32:04 +01:00
parent 012ac7d9ec
commit 1934c16f0f
2 changed files with 2 additions and 4 deletions

View File

@@ -3,9 +3,7 @@
var obj = babelHelpers.createDecoratedObject([{
key: "bar",
decorators: [foo],
initializer: function () {
return function bar() {};
}
value: function bar() {}
}, {
key: "foo",
decorators: [bar],