Change parent model for Mibew.Models.User

This commit is contained in:
Dmitriy Simushev 2013-01-23 11:36:14 +00:00
parent 16162499cf
commit e1368a3f87
2 changed files with 4 additions and 4 deletions

View File

@ -5,4 +5,4 @@
Copyright (c) 2005-2011 Mibew Messenger Community
License: http://mibew.org/license.php
*/
(function(a,b){a.Models.User=b.Model.extend({defaults:{isAgent:!1,name:""}})})(Mibew,Backbone);
(function(a){a.Models.User=a.Models.Base.extend({defaults:{isAgent:!1,name:""}})})(Mibew);

View File

@ -6,12 +6,12 @@
* License: http://mibew.org/license.php
*/
(function(Mibew, Backbone) {
(function(Mibew) {
/**
* @class Represents an user
*/
Mibew.Models.User = Backbone.Model.extend(
Mibew.Models.User = Mibew.Models.Base.extend(
/** @lends Mibew.Models.User.prototype */
{
/**
@ -35,4 +35,4 @@
}
);
})(Mibew, Backbone);
})(Mibew);