fix diff of css rule removal

This commit is contained in:
Leo Horie 2014-05-09 22:21:43 -04:00
parent dc9cae09fc
commit 63a7461657
6 changed files with 41 additions and 6 deletions

View file

@ -5,6 +5,7 @@ mock.window = new function() {
window.document.childNodes = []
window.document.createElement = function(tag) {
return {
style: {},
childNodes: [],
nodeName: tag.toUpperCase(),
appendChild: window.document.appendChild,