1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf 2016-03-31 20:49:50 +08:00
commit 8ad3c20f5f

View File

@ -441,7 +441,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 {