Skip to content

Commit e290951

Browse files
committed
MAGE-1000 Expose constants to mixins
1 parent fa92d47 commit e290951

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

view/frontend/web/js/internals/template-engine.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ define([], function () {
33
const ENGINE_TYPE_MUSTACHE = 'mustache';
44

55
return {
6-
getSelectedEngine: () => ENGINE_TYPE_HOGAN, // override via mixin
6+
ENGINE_TYPE_HOGAN,
7+
ENGINE_TYPE_MUSTACHE,
8+
9+
getSelectedEngine: () => ENGINE_TYPE_MUSTACHE, // override via mixin
710

811
processTemplate: async function (template, data, measure = false) {
912
const adapter = await this.getEngineAdapter(this.getSelectedEngine());

0 commit comments

Comments
 (0)