mirror of https://github.com/adamdruppe/arsd.git
Merge branch 'master' of github.com:adamdruppe/misc-stuff-including-D-programming-language-web-stuff
This commit is contained in:
commit
bd4d0b4231
5
dom.d
5
dom.d
|
@ -4477,6 +4477,11 @@ class Document : FileResource {
|
|||
return root.getElementsByTagName(tag);
|
||||
}
|
||||
|
||||
/// ditto
|
||||
Element[] getElementsByClassName(string tag) {
|
||||
return root.getElementsByClassName(tag);
|
||||
}
|
||||
|
||||
/** FIXME: btw, this could just be a lazy range...... */
|
||||
Element getFirstElementByTagName(string tag) {
|
||||
if(loose)
|
||||
|
|
Loading…
Reference in New Issue