2013-06-25 02:41:59 +03:00
|
|
|
'use strict';
|
|
|
|
define(
|
|
|
|
[
|
|
|
|
'marionette',
|
|
|
|
'Settings/Naming/NamingModel',
|
|
|
|
'Mixins/AsModelBoundView'
|
|
|
|
], function (Marionette, NamingModel, AsModelBoundView) {
|
2013-03-04 03:09:43 +03:00
|
|
|
|
2013-06-25 02:41:59 +03:00
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
|
template: 'Settings/Naming/NamingTemplate',
|
2013-03-04 03:09:43 +03:00
|
|
|
|
2013-06-25 02:41:59 +03:00
|
|
|
initialize: function () {
|
|
|
|
this.model = new NamingModel();
|
|
|
|
this.model.fetch();
|
|
|
|
}
|
2013-06-19 07:27:41 +03:00
|
|
|
|
2013-06-25 02:41:59 +03:00
|
|
|
});
|
2013-06-19 04:02:23 +03:00
|
|
|
|
2013-06-25 02:41:59 +03:00
|
|
|
return AsModelBoundView.call(view);
|
|
|
|
});
|