Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655
.
This commit is contained in:
parent
994874fa72
commit
cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions
|
@ -1,8 +1,8 @@
|
|||
***
|
||||
---
|
||||
title: Pattern.on()
|
||||
---
|
||||
|
||||
## title: Pattern.on()
|
||||
|
||||
A pattern's `on()` method allows you to attach a function to one of the
|
||||
A pattern's `on()` method allows you to attach a function to one of the
|
||||
pattern's [lifecycle hooks](/reference/hooks/). It takes the
|
||||
lifecycle hook's name as the first argument and the function as the second.
|
||||
This method will then be triggered by the lifecycle hook.
|
||||
|
@ -13,7 +13,7 @@ This method will then be triggered by the lifecycle hook.
|
|||
|
||||
```js
|
||||
Pattern pattern.on(string hook, function method)
|
||||
```
|
||||
```
|
||||
|
||||
<Tip>
|
||||
|
||||
|
@ -38,3 +38,4 @@ Your pattern now has a yellow background.
|
|||
The [plugin guide](/guides/plugins/) contains more info on how you can use hooks
|
||||
|
||||
</Tip>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue