From c2eb8e754d4c00916a39bc0b6a416afaa8bc78ca Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 14 Aug 2015 01:49:27 +0200 Subject: [PATCH] fix typo "PeristedModel" --- lib/registry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/registry.js b/lib/registry.js index 64d079f6..95fac6fa 100644 --- a/lib/registry.js +++ b/lib/registry.js @@ -109,8 +109,8 @@ Registry.prototype.createModel = function(name, properties, options) { if (BaseModel === undefined) { if (baseName === 'DataModel') { console.warn('Model `%s` is extending deprecated `DataModel. ' + - 'Use `PeristedModel` instead.', name); - BaseModel = this.getModel('PeristedModel'); + 'Use `PersistedModel` instead.', name); + BaseModel = this.getModel('PersistedModel'); } else { console.warn('Model `%s` is extending an unknown model `%s`. ' + 'Using `PersistedModel` as the base.', name, baseName);