Commit dfd8a16
committed
Fix three global.data caveats doc issues
- Cache p.vars in try/catch example to avoid double-invoking the getter
- Broaden the .vars throw caveat to cover all init failures, not just vars module errors
- Correct the raw content caveat: markdown pages do not expose content via vars.content;
point to pageFile.filepath for raw source and renderInnerPage() for rendered HTML1 parent e8390da commit dfd8a16
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
| 1072 | + | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
| 1077 | + | |
| 1078 | + | |
1078 | 1079 | | |
1079 | 1080 | | |
1080 | 1081 | | |
1081 | 1082 | | |
1082 | 1083 | | |
1083 | 1084 | | |
1084 | | - | |
| 1085 | + | |
1085 | 1086 | | |
1086 | 1087 | | |
1087 | 1088 | | |
| |||
0 commit comments