binaryage/firequery

metadata is output incorrectly on console

rvock opened this issue · 2 comments

I have an element with metadata and the jQuery metadata plugin.
The code of the element with metadata is:
<li class="{id: 678}">

When I enter $('li:first').metadata() in the firebug console I get the following output:
{ id=undefined }

Without firequery I get
{ id=678 }

(And that's what I would expect and want to see :))

It's not only metadata, but all objects.
enter in console:
var a = {foo: 'bar', baz: 5};
a
{ asdf=undefined muh=undefined }

do not force JSON object notation, Firebug authors did some changes towards it, which broke my original code (closed by ae9a09c)