Skip to content

Commit

Permalink
cssFunctions -> cssExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jun 26, 2023
1 parent b9a4704 commit 25443c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions haxe/ui/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
</image-loaders>
</loaders>

<cssFunctions>
<cssExtensions>
<cssFunction name="calc" call="haxe.ui.styles.CssFunctions.calc" />
<cssFunction name="min" call="haxe.ui.styles.CssFunctions.min" />
<cssFunction name="max" call="haxe.ui.styles.CssFunctions.max" />
Expand All @@ -304,7 +304,7 @@
<cssFunction name="theme-image" call="haxe.ui.styles.CssFunctions.themeIcon" />
<cssFunction name="rgb" call="haxe.ui.styles.CssFunctions.rgb" />
<cssFunction name="lookup" call="haxe.ui.styles.CssFunctions.lookup" />
</cssFunctions>
</cssExtensions>

<actions>
<source class="haxe.ui.actions.KeyboardActionInputSource" />
Expand Down
2 changes: 1 addition & 1 deletion haxe/ui/parsers/modules/XMLParser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class XMLParser extends ModuleParser {
parseNamespaces(el, module, defines, context);
} else if (nodeName == "loaders" && checkCondition(el, defines) == true) {
parseLoaders(el, module, defines, context);
} else if (nodeName == "cssFunctions" && checkCondition(el, defines) == true) {
} else if (nodeName == "cssExtensions" && checkCondition(el, defines) == true) {
parseCssFunctions(el, module, defines, context);
}
}
Expand Down

0 comments on commit 25443c5

Please sign in to comment.