mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
8ad3c20f5f
@ -441,7 +441,7 @@ export default function publish(topic, channel) {
|
||||
```javascript
|
||||
import publish from "path/to/decorators/publish";
|
||||
|
||||
class FooComponent () {
|
||||
class FooComponent {
|
||||
@publish("foo.some.message", "component")
|
||||
someMethod() {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user