From 3ee70ea290b031c718cdcc5600a683e7bca72ffb Mon Sep 17 00:00:00 2001 From: Zoey Young Date: Fri, 25 Sep 2015 17:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/decorator.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/decorator.md b/docs/decorator.md index c54ba3b..2c8b888 100644 --- a/docs/decorator.md +++ b/docs/decorator.md @@ -12,7 +12,7 @@ function testable(target) { } @testable -class MyTestableClass () {} +class MyTestableClass {} console.log(MyTestableClass.isTestable) // true ``` @@ -59,9 +59,9 @@ function testable(target) { } @testable -class MyTestableClass () {} +class MyTestableClass {} -let obj = new MyClass(); +let obj = new MyTestableClass(); console.log(obj.isTestable) // true ```