Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
halfnelson committed Sep 11, 2020
1 parent 9004ecf commit 9c36d3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class AttributeWrapper extends BaseAttributeWrapper {
const namespace = this.parent.node.namespace;
// some processing only applies to html namespace (and not MathML, SVG, or Svelte Native etc)
if (namespace && namespace != 'html' && namespace != namespaces.html) {
// attributes outside of the html namespaced may be case sensitive
// attributes outside of the html namespace may be case sensitive
// namespaces for which we don't have case corrections, are left in their original case (required for svelte-native)
this.name = (valid_namespaces.indexOf(namespace) >= 0) ? fix_attribute_casing(this.node.name) : this.node.name;
this.is_indirectly_bound_value = false;
Expand Down

0 comments on commit 9c36d3b

Please sign in to comment.