Commit 50ab300
committed
Fixed decorator sample (thanks tixz)
* TextDecorator was written in JavaScript-style function assignment,
making the @processors variable drop out of scope
* Rewrote it as class TextDecorator and included a constructor to set
the var1 parent cbe19ff commit 50ab300
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments