Skip to content

Commit

Permalink
fix typo in zh-cn/Plugin.md (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivewind authored and iamkun committed Nov 20, 2018
1 parent 0956a3b commit 24ae06b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/zh-cn/Plugin.md
Expand Up @@ -17,7 +17,7 @@
```js
import plugin
dayjs.extend(plugin)
dayjs.extend(plugin, options) // 带参数加载插件
dayjs.extend(plugin, options) // 带参数加载插件
```

## 安装
Expand Down Expand Up @@ -184,7 +184,7 @@ export default (option, dayjsClass, dayjsFactory) => {
dayjsFactory.utc = (arguments) => {}

// 覆盖已存在的 API
// 例:扩展 dayjs().format() 方法
// 例:扩展 dayjs().format() 方法
const oldFormat = dayjsClass.prototype.format
dayjsClass.prototype.format = function (arguments) {
// 原始format结果
Expand Down

0 comments on commit 24ae06b

Please sign in to comment.