Fix "Unexpected trailing comma"

[MAILPOET-976]
This commit is contained in:
Pavel Dohnal
2017-08-03 11:02:11 +02:00
parent 3a0669e1a2
commit 78fb9ba46f
4 changed files with 8 additions and 8 deletions

View File

@ -8,10 +8,10 @@ define('helpTooltip', ['mailpoet', 'React', 'react-dom', 'help-tooltip.jsx'],
ReactDOM.render(React.createElement( ReactDOM.render(React.createElement(
TooltipComponent, { TooltipComponent, {
tooltip: opts.tooltip, tooltip: opts.tooltip,
tooltipId: opts.tooltipId, tooltipId: opts.tooltipId
} }
), domContainerNode); ), domContainerNode);
}, }
}; };
} }

View File

@ -64,11 +64,11 @@ define([
onRender: function() { onRender: function() {
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-full-width'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-full-width'), {
tooltipId: 'tooltip-editor-full-width', tooltipId: 'tooltip-editor-full-width',
tooltip: MailPoet.I18n.t('helpTooltipDesignerFullWidth'), tooltip: MailPoet.I18n.t('helpTooltipDesignerFullWidth')
}); });
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-ideal-width'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-ideal-width'), {
tooltipId: 'tooltip-editor-ideal-width', tooltipId: 'tooltip-editor-ideal-width',
tooltip: MailPoet.I18n.t('helpTooltipDesignerIdealWidth'), tooltip: MailPoet.I18n.t('helpTooltipDesignerIdealWidth')
}); });
}, },
getTemplate: function() { return templates.imageBlockSettings; }, getTemplate: function() { return templates.imageBlockSettings; },

View File

@ -32,11 +32,11 @@ define([
App._appView.showChildView('headingRegion', new Module.HeadingView({ model: App.getNewsletter() })); App._appView.showChildView('headingRegion', new Module.HeadingView({ model: App.getNewsletter() }));
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-subject-line'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-subject-line'), {
tooltipId: 'tooltip-designer-subject-line-ti', tooltipId: 'tooltip-designer-subject-line-ti',
tooltip: MailPoet.I18n.t('helpTooltipDesignerSubjectLine'), tooltip: MailPoet.I18n.t('helpTooltipDesignerSubjectLine')
}); });
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-preheader'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-preheader'), {
tooltipId: 'tooltip-designer-preheader-ti', tooltipId: 'tooltip-designer-preheader-ti',
tooltip: MailPoet.I18n.t('helpTooltipDesignerPreheader'), tooltip: MailPoet.I18n.t('helpTooltipDesignerPreheader')
}); });
}); });

View File

@ -372,12 +372,12 @@ define([
MailPoet.helpTooltip.show(document.getElementById('tooltip-send-preview'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-send-preview'), {
tooltipId: 'tooltip-editor-send-preview', tooltipId: 'tooltip-editor-send-preview',
tooltip: MailPoet.I18n.t('helpTooltipSendPreview'), tooltip: MailPoet.I18n.t('helpTooltipSendPreview')
}); });
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-styles'), { MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-styles'), {
tooltipId: 'tooltip-editor-designer-styles', tooltipId: 'tooltip-editor-designer-styles',
tooltip: MailPoet.I18n.t('helpTooltipDesignerStyles'), tooltip: MailPoet.I18n.t('helpTooltipDesignerStyles')
}); });
}); });