Skip to content

Commit d7254cc

Browse files
committed
Merge pull request #424 from silexlabs/fix-xml-for-3.2.0
fix for haxe 3.2.0, Xml is now an enum
2 parents ef15594 + fab9299 commit d7254cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cocktail/core/parser/DOMParser.hx

+6-1
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)