Merge pull request #1593 from webvariants/master
fix typo "PeristedModel"
This commit is contained in:
commit
5726868d87
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue