Closed filmaj closed 13 years ago
yeah its stupid for sure. should probably use the css selector since it wouldn't require a translation
ok my latest push on this just ends up supporting both approaches in both functions - easy enough.
Like I said... both functions accept both types of styles.
Taken straight out of the specs:
x$('#someElement').setStyle('backgroundColor','blue'); x$('#someElement').getStyle('background-color', function(v) { // ; });
How come we use two different strings to reference the same style property? Shouldn't this be consistent?
Thoughts?