This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
META.json | Sat Jul 25 09:49:50 -0700 2009 | |
| |
README | Sat Jul 25 09:49:50 -0700 2009 | |
| |
jquery.metadata.js | Sat Jul 25 09:49:50 -0700 2009 | |
| |
test/ | Sat Jul 25 09:49:50 -0700 2009 |
README
jQuery Metadata Plugin
By John Resig
This plugin is capable of silently, and automatically, extracting metadata
from classes, random attributes, and child elements.
For example, you can do:
<li class="someclass {some: 'data'} anotherclass">...</li>
OR
<li data="{some:'random', json: 'data'}">...</li>
OR
<li><script type="data">{some:"json",data:true}</script> ...</li>
The default is the first method, but you can always change it by twiddling
the options. This means that there is at least one option here that can
appease you.
There's also a bunch of options (like loading data into a single property
and the ability to ignore braces {}).







