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 (BaseModel === undefined) {
|
||||||
if (baseName === 'DataModel') {
|
if (baseName === 'DataModel') {
|
||||||
console.warn('Model `%s` is extending deprecated `DataModel. ' +
|
console.warn('Model `%s` is extending deprecated `DataModel. ' +
|
||||||
'Use `PeristedModel` instead.', name);
|
'Use `PersistedModel` instead.', name);
|
||||||
BaseModel = this.getModel('PeristedModel');
|
BaseModel = this.getModel('PersistedModel');
|
||||||
} else {
|
} else {
|
||||||
console.warn('Model `%s` is extending an unknown model `%s`. ' +
|
console.warn('Model `%s` is extending an unknown model `%s`. ' +
|
||||||
'Using `PersistedModel` as the base.', name, baseName);
|
'Using `PersistedModel` as the base.', name, baseName);
|
||||||
|
|
Loading…
Reference in New Issue