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