Closed saintclair closed 11 years ago
Soo... this doesn't work at all. :disappointed: $this[0].style.width
returns an empty string. and parseInt($this[0].style.width)
returns NaN
.
You really need to test the code you're commiting against example.html
instead of making assumptions.
Sorry if this was the scope would have to create a variable, then returned with $ this.width () will create the pull request now
:rage2: Still doesn't work.
just a few more minutes I'm evaluating return in a few moments
new version, sorry rework, pull request created, performed tests on the console is not informed any more error
Through the use of native features js good performance is proven;
Compare performance (style):
fontSize: http://jsperf.com/resizers **(new) > width: http://jsperf.com/jquery-css-vs-width-vs-native-width/2