Open axelpale opened 9 years ago
I think the code of example-1 has some problems. It should be like this:
move('#example-1 .box').set('margin-left', "200px").end();
don`t forget the 'px';
The master applyProperties Code is: Move.prototype.applyProperties = function(){ for (var prop in this._props) { this.el.style.setProperty(prop, this._props[prop], ''); } return this; };
But the page http://visionmedia.github.io/move.js/ is: Move.prototype.applyProperties = function(){ css(this.el, this._props); return this; };
The public documentation at visionmedia.github.io/move.js/ uses version 0.3.2 (open console & type
move.version
) and there Example 1 works as expected. However if you clone 0.4.0 and open examples/docs.html all the other examples work as expected but Example 1 does not do anything.I did not yet found any reason why this happens. Others experiencing the same issue?