not sure why this module has so much going on. for the array stuff, you could probably just do:
slug(':title-by-:author')
Is the function stuff necessary? I guess we could just do:
slug(function(model) { ... })
... and whenever there is a change event, recompute.
Permission to simplify / break the API? :-)
/cc @rschmukler
not sure why this module has so much going on. for the array stuff, you could probably just do:
Is the function stuff necessary? I guess we could just do:
... and whenever there is a change event, recompute.
Permission to simplify / break the API? :-)
/cc @rschmukler