Fossil SCM
Pedantic function rename, as it will become relevant when work on the ajaxifying the forum start.
Commit
41ce65fc31eb6da64c63568c53a468ade30b2127dfc9c66453f2d184577a2c8e
Parent
1f0a3354aa97101…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/forum.c | ||
| +++ src/forum.c | ||
| @@ -752,11 +752,11 @@ | ||
| 752 | 752 | |
| 753 | 753 | /* |
| 754 | 754 | ** Callback for use with style.c:BundleEmitters. Emits all JS code |
| 755 | 755 | ** required by this page. |
| 756 | 756 | */ |
| 757 | -void forum_emit_js_bundle(void){ | |
| 757 | +void forumpost_emit_js_bundle(void){ | |
| 758 | 758 | style_emit_script_builtin(1, 0, "forum.js"); |
| 759 | 759 | style_emit_script_fossil_bootstrap(1); |
| 760 | 760 | style_emit_script_dom(1, 0); |
| 761 | 761 | style_emit_script_builtin(1, 0, "fossil.page.forumpost.js"); |
| 762 | 762 | } |
| 763 | 763 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -752,11 +752,11 @@ | |
| 752 | |
| 753 | /* |
| 754 | ** Callback for use with style.c:BundleEmitters. Emits all JS code |
| 755 | ** required by this page. |
| 756 | */ |
| 757 | void forum_emit_js_bundle(void){ |
| 758 | style_emit_script_builtin(1, 0, "forum.js"); |
| 759 | style_emit_script_fossil_bootstrap(1); |
| 760 | style_emit_script_dom(1, 0); |
| 761 | style_emit_script_builtin(1, 0, "fossil.page.forumpost.js"); |
| 762 | } |
| 763 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -752,11 +752,11 @@ | |
| 752 | |
| 753 | /* |
| 754 | ** Callback for use with style.c:BundleEmitters. Emits all JS code |
| 755 | ** required by this page. |
| 756 | */ |
| 757 | void forumpost_emit_js_bundle(void){ |
| 758 | style_emit_script_builtin(1, 0, "forum.js"); |
| 759 | style_emit_script_fossil_bootstrap(1); |
| 760 | style_emit_script_dom(1, 0); |
| 761 | style_emit_script_builtin(1, 0, "fossil.page.forumpost.js"); |
| 762 | } |
| 763 |
+1
-1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -1143,11 +1143,11 @@ | ||
| 1143 | 1143 | ** Map each required bundle here... |
| 1144 | 1144 | */ |
| 1145 | 1145 | static const BundleEmitter BundleEmitters[] = { |
| 1146 | 1146 | /* Keep these sorted for bsearch() */ |
| 1147 | 1147 | {"fileedit.js", fileedit_emit_js_bundle}, |
| 1148 | -{"forum.js", forum_emit_js_bundle}, | |
| 1148 | +{"forum.js", forumpost_emit_js_bundle}, | |
| 1149 | 1149 | {"wikiedit.js", wikiedit_emit_js_bundle} |
| 1150 | 1150 | }; |
| 1151 | 1151 | |
| 1152 | 1152 | /* |
| 1153 | 1153 | ** Comparison function for bsearch() for searching a BundleEmitter |
| 1154 | 1154 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1143,11 +1143,11 @@ | |
| 1143 | ** Map each required bundle here... |
| 1144 | */ |
| 1145 | static const BundleEmitter BundleEmitters[] = { |
| 1146 | /* Keep these sorted for bsearch() */ |
| 1147 | {"fileedit.js", fileedit_emit_js_bundle}, |
| 1148 | {"forum.js", forum_emit_js_bundle}, |
| 1149 | {"wikiedit.js", wikiedit_emit_js_bundle} |
| 1150 | }; |
| 1151 | |
| 1152 | /* |
| 1153 | ** Comparison function for bsearch() for searching a BundleEmitter |
| 1154 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -1143,11 +1143,11 @@ | |
| 1143 | ** Map each required bundle here... |
| 1144 | */ |
| 1145 | static const BundleEmitter BundleEmitters[] = { |
| 1146 | /* Keep these sorted for bsearch() */ |
| 1147 | {"fileedit.js", fileedit_emit_js_bundle}, |
| 1148 | {"forum.js", forumpost_emit_js_bundle}, |
| 1149 | {"wikiedit.js", wikiedit_emit_js_bundle} |
| 1150 | }; |
| 1151 | |
| 1152 | /* |
| 1153 | ** Comparison function for bsearch() for searching a BundleEmitter |
| 1154 |