You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to juice-project-discuss
Juice 0.6 has just been released and includes a major refactoring of
the Meta functionality.
The internals have been simplified greatly, and we now have the
ability [using the new 'juice.setMeta()'] to create a meta value from
arguments and from values returned by a function. So for instance
creating a meta from a value which has been parsed from the page URL
now becomes possible.
The old 'juice.addMeta()' which required you to create a JuiceMeta
instance and pass it in as an argument. It has been replaced by
'juice.findMeta()` which directly accepts the same arguments as the
JuiceMeta constructor did.
I also added 'juice.deleteMeta()' and the ability to effectively
overwrite previous meta values by finding or setting for a previously
assigned id. Finally for naming consistency 'juice.getValues()' has
been deprecated by 'juice.getMetaValues()'.
Tests have been modified and extended to cover all of the above.