Add and fix comma-dangle rules for *.js files

[MAILPOET-1829]
This commit is contained in:
Jan Jakeš
2019-02-20 13:36:05 +01:00
committed by M. Shull
parent 61ab593dcb
commit 5c92af4881
67 changed files with 940 additions and 938 deletions

View File

@ -10,7 +10,7 @@ describe('Styles', function () {
it('loads and stores globally available styles', function () {
var model;
StylesComponent.setGlobalStyles({
testStyle: 'testValue'
testStyle: 'testValue',
});
model = StylesComponent.getGlobalStyles();
expect(model.get('testStyle')).to.equal('testValue');
@ -26,7 +26,7 @@ describe('Styles', function () {
var mock = sinon.mock({ trigger: function () {} }).expects('trigger').once().withExactArgs('autoSave');
EditorApplication.getChannel = function () {
return {
trigger: mock
trigger: mock,
};
};
model.set('text.fontColor', '#123456');