This commit is contained in:
antelle 2019-08-18 08:09:42 +02:00
parent fa4ff0b0c3
commit 3e3d3571be
2 changed files with 9 additions and 8 deletions

View File

@ -146,7 +146,9 @@ module.exports = function(grunt) {
eslint: { eslint: {
app: ['app/scripts/**/*.js'], app: ['app/scripts/**/*.js'],
desktop: ['desktop/**/*.js', '!desktop/node_modules/**'], desktop: ['desktop/**/*.js', '!desktop/node_modules/**'],
grunt: ['Gruntfile.js', 'build/**/*.js'] build: ['Gruntfile.js', 'grunt.*.js', 'build/**/*.js', 'webpack.config.js'],
plugins: ['plugins/**/*.js'],
util: ['util/**/*.js']
}, },
inline: { inline: {
app: { app: {

View File

@ -53,13 +53,12 @@ const MenuModel = Backbone.Model.extend({
} }
]); ]);
Colors.AllColors.forEach(color => { Colors.AllColors.forEach(color => {
this.colorsSection const option = {
.get('items') cls: 'fa ' + color + '-color',
.models[0].addOption({ value: color,
cls: 'fa ' + color + '-color', filterValue: color
value: color, };
filterValue: color this.colorsSection.get('items').models[0].addOption(option);
});
}); });
this.menus.app = new MenuSectionCollection([ this.menus.app = new MenuSectionCollection([
this.allItemsSection, this.allItemsSection,