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: {
|
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: {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue