Commit 7710067
committed
装饰器模式
1 parent 0b40ce8 commit 7710067Copy full SHA for 7710067
18 files changed
+310-256Lines changed: 310 additions & 256 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- 06-设计模式
- temp/15
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+16-1Lines changed: 16 additions & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
Collapse file
06-设计模式/1.2.1 多态-反面教材.html 06-设计模式/1.2 多态-反面教材.html06-设计模式/1.2.1 多态-反面教材.html renamed to 06-设计模式/1.2 多态-反面教材.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.2.2 多态-改写.html 06-设计模式/1.3 多态-改写.html06-设计模式/1.2.2 多态-改写.html renamed to 06-设计模式/1.3 多态-改写.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.3 封装.html 06-设计模式/1.4 封装.html06-设计模式/1.3 封装.html renamed to 06-设计模式/1.4 封装.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.2.3 多态-demo.html 06-设计模式/1.5 多态-demo.html06-设计模式/1.2.3 多态-demo.html renamed to 06-设计模式/1.5 多态-demo.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.4.1 原型模式基础-对象克隆.html 06-设计模式/1.6 原型模式基础-对象克隆.html06-设计模式/1.4.1 原型模式基础-对象克隆.html renamed to 06-设计模式/1.6 原型模式基础-对象克隆.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.4.2 原型模式.html 06-设计模式/1.7 原型模式.html06-设计模式/1.4.2 原型模式.html renamed to 06-设计模式/1.7 原型模式.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/1.4.3 原型继承.html 06-设计模式/1.8 原型继承.html06-设计模式/1.4.3 原型继承.html renamed to 06-设计模式/1.8 原型继承.html
Copy file name to clipboardFile renamed without changes.
Collapse file
06-设计模式/15.1 装饰器模式对比继承&模拟传统实现.html
Copy file name to clipboard+46Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
Collapse file
06-设计模式/15.2 装饰器模式-js直接改写函数.html
Copy file name to clipboard+32Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
0 commit comments