Closed arian closed 13 years ago
This is sweet. @subtleGradient what do you say?
As shown here, http://jsfiddle.net/arian/Hd3hd/, leaving local.setDocument
was a bug.
Looks good. All except the toLowerCase
.
Remove that and I'll merge.
Alternatively you could add all the various cases to the object as references to the same getter.
e.g. attributeGetters.MAXLENGTH = attributeGetters.maxLength = attributeGetters.maxlength
ah, yeah good idea, will fix it in a minute!
@subtleGradient merge it :)
Add maxLength to attributes. Expose Slick.hasAttribute and makes sure the document is set when using Slick.getAttribute