|
|
|
@ -1,14 +1,13 @@
|
|
|
|
|
'use strict';
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'vent',
|
|
|
|
|
'marionette',
|
|
|
|
|
'Commands/CommandController',
|
|
|
|
|
'Mixins/AsModelBoundView',
|
|
|
|
|
'Mixins/AsValidatedView',
|
|
|
|
|
'Mixins/CopyToClipboard'
|
|
|
|
|
], function (vent, Marionette, CommandController, AsModelBoundView, AsValidatedView) {
|
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
|
|
|
|
|
|
|
var vent = require('../../vent');
|
|
|
|
|
var Marionette = require('marionette');
|
|
|
|
|
var CommandController = require('../../Commands/CommandController');
|
|
|
|
|
var AsModelBoundView = require('../../Mixins/AsModelBoundView');
|
|
|
|
|
var AsValidatedView = require('../../Mixins/AsValidatedView');
|
|
|
|
|
|
|
|
|
|
require('../../Mixins/CopyToClipboard');
|
|
|
|
|
|
|
|
|
|
var view = Marionette.ItemView.extend({
|
|
|
|
|
template: 'Settings/General/GeneralViewTemplate',
|
|
|
|
|
|
|
|
|
|
events: {
|
|
|
|
@ -113,11 +112,10 @@ define(
|
|
|
|
|
_showScriptGroup: function () {
|
|
|
|
|
return this.ui.updateMechanism.val() === 'script';
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
AsModelBoundView.call(view);
|
|
|
|
|
AsValidatedView.call(view);
|
|
|
|
|
AsModelBoundView.call(view);
|
|
|
|
|
AsValidatedView.call(view);
|
|
|
|
|
|
|
|
|
|
return view;
|
|
|
|
|
});
|
|
|
|
|
module.exports = view;
|
|
|
|
|
|
|
|
|
|