Opened October 15, 2012 02:34PM UTC
Closed October 15, 2012 03:53PM UTC
This is duplicate of #4324 and #9396. You already voted on #9396, deciding to say no, but i was told to bring this up again, when 1.9 will be around the corner.
To summarize –
In 2.0, the native .hasAttribute would work fine. However, if we want to make it "jQueryified", we could wrap it in hasAttr with an each. If we do that though, we should have the same, but cross-browser, API in 1.9. I'm fine either way.
+0, I like small, but I also like fast.
i tried to make it as small as possible, i hope those 75 bytes would not be a deciding point in this.
Given that some edge-cases bugs take up to 40 bytes and all those gibson optimizations and future deprecated stuff that will be removed in 1.9 and a lot (a lot) of stuff that will be removed in 2.0 will give some perspective.
Duplicate of #9396.