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
lib/models

View File

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