From c16c42b5f55dacdddc22109ef99f804ab71c2b00 Mon Sep 17 00:00:00 2001 From: redhoodsu Date: Wed, 17 Jul 2019 10:55:18 +0800 Subject: [PATCH] Fix doc --- doc/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/API.md b/doc/API.md index de904ee..00628a9 100644 --- a/doc/API.md +++ b/doc/API.md @@ -69,9 +69,9 @@ console.log('eruda'); Add tool. ```javascript -eruda.add(eruda.Tool.extend({ +eruda.add(new (eruda.Tool.extend({ name: 'test' -})); +}))); ``` ## remove