1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 03:02:21 +00:00

66 Commits

Author SHA1 Message Date
ruanyf
6f59bc38e1 docs(proxy): edit defineProperty 2020-05-13 13:35:10 +08:00
jianjian
0f6569795d
perf: remove unnecessary closure 2020-03-13 18:30:23 +08:00
ruanyf
942bcc3ee2 docs(proxy): fix #943 2020-01-17 00:45:29 +08:00
张德帥
ad12c153b3
修正参数名
property 改为 property key 防止产生歧义
2019-12-16 15:48:15 +08:00
Liu
176fe9dcd6
docs(proxy): add spaces around the operator 2019-09-06 18:11:51 +08:00
new9xgh
1747317cac fix the word 2018-11-21 11:20:48 +08:00
new9xgh
0d58e714ce 1.完善报错内容。
2.preventExtensions介绍中,统一代码与描述所用的变量。
3.preventExtensions介绍中,修改代码示例:Object.preventExtensions()方法返回值输出内容。
4.修改“目标对象是不可扩展”括号相关描述中non-extensible 与 extensible的内容
2018-11-21 11:09:24 +08:00
ruanyf
8a0f97459f docs(proxy): edit set() #765 2018-11-03 20:27:43 +08:00
ruanyf
4c30a12b4e docs(proxy): fix deleteProperty #733 2018-08-14 15:00:14 +08:00
ruanyf
42e06a84d9 docs(reference): edit reference 2018-06-04 11:12:30 +08:00
ruanyf
36c2fdb05d docs(proxy): edit proxyw 2018-05-20 06:38:28 +08:00
ruanyf
7c7f1ce7d1 docs(proxy): edit proxyw 2018-05-20 06:37:23 +08:00
Simon Ma
9708a21581
Update proxy.md
1. 纠正错别字 
> **构建函数** 为 构造函数
2. 纠正语义 
> 有被`for...in`循环所排除。
3. 增加
> `has` 方法的参数说明
2018-05-16 20:43:29 +08:00
ruanyf
7d5a56292a docs(proxy): edit receiver 2018-05-16 14:16:28 +08:00
ruanyf
b48a35bebb docs(proxy): edit proxy.ownkeys 2018-04-18 15:34:42 +08:00
ruanyf
27784cd0cf docs(Proxy): edit Proxy 2018-03-27 19:07:42 +08:00
ruanyf
50bd8d09d2 docs(proxy): fix proxy #616 2018-02-26 15:22:47 +08:00
ruanyf
22c3b931dc docs(proxy): edit set() 2017-12-07 10:26:10 +08:00
ruanyf
075c27b54d docs(decorator): edit method decorator 2017-12-05 21:42:30 +08:00
Ika
e8fdb00040 docs: consistent style 2017-11-12 18:01:54 +08:00
ruanyf
530982b3ae docs(proxy): fix typo 2017-11-08 09:38:07 +08:00
ruanyf
bbc173988b docs(proxy): edit proxy 2017-11-05 09:25:58 +08:00
waiting
ea98bdafa5
docs: 变量名改为习惯用法
xxx这种名称偏向于口语化,适用于不严格的使用环境。 开发常用的约定俗称的随机名是 foo, bar, baz 等等
2017-10-29 16:40:55 +08:00
dahong
9022f046e3 修改一点儿代码
proxy.foo = proxy // true
改为
proxy.foo === proxy // true
2017-10-18 16:24:13 +08:00
ruanyf
84503df2cf docs(proxy): edit proxy.get/receiver 2017-10-04 07:42:56 +08:00
ruanyf
3619d2121c docs(proxy): edit proxy 2017-03-27 12:45:33 +08:00
Longfei Wu
d56b6eadf9 fix typo: proxy instead of handler
when handler is empty, proxy (instead of handler) should be equal to target
2017-03-14 19:02:52 +08:00
Dandan Jiang
b2c2f8fd0c 语法错误 2017-01-24 11:16:09 +08:00
ruanyf
c39d1e580d docs(proxy): edit proxy 2016-12-26 06:11:16 +08:00
ruanyf
04f582da78 docs(proxy): edit proxy 2016-12-24 20:56:36 +08:00
ruanyf
c7d9c5d138 docs: add new chapter of Reflect 2016-12-24 11:53:18 +08:00
ruanyf
329edc0711 docs(reflect): edit Reflect API 2016-12-19 23:13:30 +08:00
ruanyf
ff35ad8399 docs(proxy): add proxy 实现观察者模式 2016-11-28 14:38:58 +08:00
ruanyf
ba0744a7a4 docs(proxy): edit proxy 2016-11-27 23:28:35 +08:00
ruanyf
ff43701be0 docs(proxy): edit proxy 2016-11-25 13:29:25 +08:00
ruanyf
26b718b4b5 docs(fp): edit fp/currying 2016-11-23 17:15:39 +08:00
ruanyf
6c8bd07b8e docs(proxy): edit proxy.has() 2016-09-21 19:47:59 +08:00
ruanyf
e657a675e8 docs(generator): edit generator 2016-07-14 14:59:02 +08:00
UFOwl
d5eeef139e Update proxy.md
小勘误。
“而是”=>“还是”
“如果”=>“”
2016-06-03 11:53:18 +08:00
ruanyf
18b2f80f83 docs(proxy): construct方法 2016-05-29 10:07:42 +08:00
Ruan YiFeng
d67e8ebe68 Merge pull request #208 from NumerHero/gh-pages
问题修改
2016-05-21 19:44:46 -05:00
ruanyf
1b0eba15a9 doc(proxy): 删除proxy对象的enumerate方法 2016-05-21 15:32:47 +08:00
Owen
3bd3d6fbdb 问题修改
阮老师你好,在747行这个例子中,filter 返回的是属性的数组集合,所以,使用for...of 得到的key应该是对应的属性 “prop”
而不是您之后备注的 "baz" 

可能是我理解有误,耽误了老师宝贵的时间,还望老师见谅
2016-05-21 14:57:06 +08:00
ruanyf
41c37bdbe2 doc(proxy): edit proxy.has 方法 2016-05-21 09:20:59 +08:00
Ruan YiFeng
130f3a4c39 Merge pull request #207 from NumerHero/gh-pages
问题修改
2016-05-20 19:58:21 -05:00
ruanyf
c48648a178 docs(proxy): enumerate方法 2016-05-21 08:32:28 +08:00
Owen
32b7bd2c88 问题修改
阮老师你好,我在阅读您Proxy书稿第553行,“注意与Proxy对象的`has`方法区分,后者用来拦截`in`操作符,对`for...in`循环无效。"  时,认为有所不妥

因为根据我在新chrome浏览器上的测试 , 使用has 控制器是可以对for...in起作用的

我在介绍has 控制器的段落里添加了一个小例子来说明这个问题

可能我的理解并不到位出了差错,浪费了老师宝贵时间,望见谅
2016-05-20 17:34:05 +08:00
Ruan YiFeng
a502555c54 Merge pull request #198 from NumerHero/patch-3
问题修改
2016-05-19 10:18:14 +08:00
Owen
37db7edecf 问题修改
你好,阮老师,在282行的例子中,我使用新版本chrome 测试了例子,出现了错误

发现const dom 产生了暂时性死区

如理解有误,浪费了老师时间,望见谅
2016-05-18 14:22:59 +08:00
Xcat Liu
24bcfb52ed Fix coding style in docs/proxy.md 2016-05-18 13:43:26 +08:00