Skip to content
Browse files

Merge commit '02a7874152405395d624'

  • Loading branch information...
2 parents 5cedf7b + 02a7874 commit 5861fa4890ebfed2f77d89598fa2bce623768529 @tmpvar committed Sep 8, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/jsdom/browser/index.js
View
4 lib/jsdom/browser/index.js
@@ -47,6 +47,10 @@ exports.windowAugmentation = function(dom, options) {
Window.addEventListener2 = function(type, fn, capture) {
fn.apply(Window);
};
+ Window.getComputedStyle = function(node) {
+ //This resolves to document.defaultView.getComputedStyle
+ return node.style;
+ };
Window.document.compareDocumentPosition = function() {};
Window.addEventListener = function() {};
Window.document.addEventListener = function() {};

0 comments on commit 5861fa4

Please sign in to comment.
Something went wrong with that request. Please try again.