Fix "Unexpected trailing comma"
[MAILPOET-976]
This commit is contained in:
@ -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);
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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; },
|
||||||
|
@ -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')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user