mirror of https://github.com/keeweb/keeweb.git
eslint
This commit is contained in:
parent
fa4ff0b0c3
commit
3e3d3571be
|
@ -146,7 +146,9 @@ module.exports = function(grunt) {
|
|||
eslint: {
|
||||
app: ['app/scripts/**/*.js'],
|
||||
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: {
|
||||
app: {
|
||||
|
|
|
@ -53,13 +53,12 @@ const MenuModel = Backbone.Model.extend({
|
|||
}
|
||||
]);
|
||||
Colors.AllColors.forEach(color => {
|
||||
this.colorsSection
|
||||
.get('items')
|
||||
.models[0].addOption({
|
||||
cls: 'fa ' + color + '-color',
|
||||
value: color,
|
||||
filterValue: color
|
||||
});
|
||||
const option = {
|
||||
cls: 'fa ' + color + '-color',
|
||||
value: color,
|
||||
filterValue: color
|
||||
};
|
||||
this.colorsSection.get('items').models[0].addOption(option);
|
||||
});
|
||||
this.menus.app = new MenuSectionCollection([
|
||||
this.allItemsSection,
|
||||
|
|
Loading…
Reference in New Issue