Fix inheritance bug

This commit is contained in:
Ritchie Martori 2013-07-15 20:14:04 -07:00
parent fbf0e35f1d
commit 4be6ebceb7
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ Model.setup = function () {
// each model has its
// own access control
// list
Model.acl = [];
ModelCtor.acl = [];
Model.sharedCtor = function (data, id, fn) {
ModelCtor.sharedCtor = function (data, id, fn) {
if(typeof data === 'function') {
fn = data;
data = null;