madrobby/zepto — pull request #643 by dandv (2012-11-12 09:34:47+00:00)
Title: Passing test case against http://bugs.jquery.com/ticket/12881

http://api.jquery.com/jQuery/ states that "As of jQuery 1.4, the second argument to jQuery() can accept a map consisting of a superset of the properties that can be passed to the .attr() method."

Turns out that [actually](http://bugs.jquery.com/ticket/12881),

> The only HTML you can use with that signature is a simple element with no attributes, such as $("", { ... }). I strongly recommend you not use the signature at all and used chaining instead.

Zepto behaves better than jQuery in this case. Added a test case to make sure this nice behavior is preserved.