document deps

This commit is contained in:
Leo Horie 2014-09-20 16:55:57 -04:00
parent 8535331b8a
commit eceea4addf
3 changed files with 8 additions and 9 deletions

View file

@ -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 = [];