Juice 0.6 Released

1 view
Skip to first unread message

Richard Wallis

unread,
Jul 23, 2009, 11:17:53 AM7/23/09
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.

Have fun.

~Richard.



Reply all
Reply to author
Forward
0 new messages