Everyplay / serverbone

Backbone node.js additions to serve backbone collections/models over express
MIT License
5 stars 5 forks source link

ACLModel#_processPermissions() calls BaseModel#formatTemplatedProperties instead of formatProperties #29

Closed petetnt closed 9 years ago

petetnt commented 9 years ago

I was doing the js-developer-assignment and wondered why ACLModel#_processPermissions() was calling BaseModel#formatTemplatedProperties which turned out not to exists at all.

git bisect says the functionality was added in 8a63297 but formatProperties has always been called formatProperties instead of formatTemplatedProperties.

Nomon commented 9 years ago

That method is from further down the prototype chain, from backbone-blueprint, in the SchemaModel's prototype.

petetnt commented 9 years ago

Ah okay, that explains it! Thanks!