Thanks so much for the great plugin, it is really useful. There is a bug that I found for attributes in bindings. Sorry I didn't do a pull requests but here is the patch:
*** backbone.stickit.js Tue Sep 18 15:39:16 2012
--- backbone.stickit.new.js Tue Sep 18 15:39:27 2012
***************
*** 64,70 ****
_.each(attributes, function(attrConfig) {
var lastClass = '',
updateAttr = function() {
! var val = applyViewFn(self, attrConfig.format) || model.get(modelAttr);
// If it is a class then we need to remove the last value and add the new.
if (attrConfig.name == 'class') {
$el.removeClass(lastClass).addClass(val);
--- 64,70 ----
_.each(attributes, function(attrConfig) {
var lastClass = '',
updateAttr = function() {
! var val = applyViewFn(self, attrConfig.format, model.get(attrConfig.observe)) || model.get(modelAttr);
// If it is a class then we need to remove the last value and add the new.
if (attrConfig.name == 'class') {
$el.removeClass(lastClass).addClass(val);
Thanks so much for the great plugin, it is really useful. There is a bug that I found for
attributesinbindings. Sorry I didn't do a pull requests but here is the patch: