mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 10:57:04 +08:00
FIX: Server side rendering was broken with new helperContext()
This commit is contained in:
parent
a3fb732b23
commit
2523a21fc3
|
@ -36,4 +36,4 @@
|
|||
</div>
|
||||
|
||||
{{plugin-outlet name="discovery-below"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -16,6 +16,13 @@ define("I18n", ["exports"], function(exports) {
|
|||
exports.default = I18n;
|
||||
});
|
||||
|
||||
// Formatting doesn't currently need any helper context
|
||||
define("discourse-common/lib/helpers", ["exports"], function(exports) {
|
||||
exports.helperContext = function() {
|
||||
return {};
|
||||
};
|
||||
});
|
||||
|
||||
__utils = require("discourse/lib/utilities");
|
||||
|
||||
__emojiUnicodeReplacer = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user