document deps
This commit is contained in:
parent
8535331b8a
commit
eceea4addf
3 changed files with 8 additions and 9 deletions
|
|
@ -68,6 +68,7 @@ mock.window = new function() {
|
|||
this.childNodes.splice(index, 1)
|
||||
child.parentNode = null
|
||||
}
|
||||
//getElementsByTagName is only used by JSONP tests, it's not required by Mithril
|
||||
window.document.getElementsByTagName = function(name){
|
||||
name = name.toLowerCase();
|
||||
var out = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue