Skip to content

Commit fab9299

Browse files
committed
fix for haxe 3.2.0, Xml is now an enum
1 parent ef15594 commit fab9299

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cocktail/core/parser/DOMParser.hx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class DOMParser
112112
{
113113
continue;
114114
}
115+
116+
default:
115117
}
116118

117119
//desrialize the child, thus deserializing
@@ -129,6 +131,9 @@ class DOMParser
129131
}
130132

131133
return htmlElement;
134+
135+
default:
136+
132137
}
133138

134139
return null;
@@ -208,4 +213,4 @@ class DOMParser
208213
return xml;
209214
}
210215

211-
}
216+
}

0 commit comments

Comments
 (0)