2013-06-25 07:21:10 +00:00
|
|
|
|
"use strict";
|
|
|
|
|
|
2013-06-24 23:41:59 +00:00
|
|
|
|
define(
|
|
|
|
|
[
|
2013-07-01 04:17:52 +00:00
|
|
|
|
'app',
|
|
|
|
|
'Settings/SettingsModelBase'
|
|
|
|
|
], function (App, ModelBase) {
|
|
|
|
|
return ModelBase.extend({
|
|
|
|
|
|
|
|
|
|
baseInitialize: ModelBase.prototype.initialize,
|
|
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
|
var name = this.get('name');
|
|
|
|
|
|
|
|
|
|
this.successMessage = 'Saved ' + name + ' size settings';
|
|
|
|
|
this.errorMessage = 'Couldn\'t save ' + name + ' size settings';
|
|
|
|
|
|
|
|
|
|
this.baseInitialize.call(this);
|
2013-03-07 08:01:18 +00:00
|
|
|
|
}
|
2013-06-24 23:41:59 +00:00
|
|
|
|
});
|
2013-03-07 08:01:18 +00:00
|
|
|
|
});
|