1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #164 from hardfist/patch-1

删除错误的“()"
This commit is contained in:
Ruan YiFeng 2016-03-29 16:22:06 +08:00
commit 02c718a35a

View File

@ -381,7 +381,7 @@ export default function publish(topic, channel) {
```javascript ```javascript
import publish from "path/to/decorators/publish"; import publish from "path/to/decorators/publish";
class FooComponent () { class FooComponent {
@publish("foo.some.message", "component") @publish("foo.some.message", "component")
someMethod() { someMethod() {
return { return {