Open bladepan opened 10 years ago
var current = window.getComputedStyle || window.currentStyle;
does not work, so
Move.prototype.current = function(prop){
return current(this.el).getPropertyValue(prop);
};
does not work (return NAN), so the margin-left or some other properties cannot be fetched. example 2 needs 'current' method
need to debug js running jsdom.