mootools / slick

Standalone CSS Selector Parser and Engine. An official MooTools project.
MIT License
149 stars 22 forks source link

Element properties that are not defined should return empty string #62

Closed anutron closed 12 years ago

anutron commented 13 years ago

https://github.com/mootools/slick/blob/master/Source/Slick.Finder.js#L187-195

Instead of null here, a request for a property on an element (such as class or title) that doesn't have one defined should return an empty string.

fabiomcosta commented 12 years ago

Hi Aaron, why is that?