diff --git a/assets/js/src/form/fields/field.jsx b/assets/js/src/form/fields/field.jsx index 6b11f3bd4d..1495677050 100644 --- a/assets/js/src/form/fields/field.jsx +++ b/assets/js/src/form/fields/field.jsx @@ -84,7 +84,6 @@ define([ { description } ); - }, render: function () { let field = false; diff --git a/assets/js/src/form/fields/selection.jsx b/assets/js/src/form/fields/selection.jsx index d2835f6bcc..0ca27b1ff6 100644 --- a/assets/js/src/form/fields/selection.jsx +++ b/assets/js/src/form/fields/selection.jsx @@ -64,7 +64,6 @@ define([ return item.title; } return item.text; - }, }); @@ -156,7 +155,6 @@ define([ return this.props.field.transformChangedValue.call(this, value); } return value; - }, render: function () { const options = this.state.items.map((item, index) => { diff --git a/assets/js/src/form/form.jsx b/assets/js/src/form/form.jsx index f0b451a232..1cf4fc72f4 100644 --- a/assets/js/src/form/form.jsx +++ b/assets/js/src/form/form.jsx @@ -151,7 +151,6 @@ define( item: item, }); return true; - }, render: function () { let errors; diff --git a/assets/js/src/help/system_info.jsx b/assets/js/src/help/system_info.jsx index 66b4814355..f6e82b6b4a 100644 --- a/assets/js/src/help/system_info.jsx +++ b/assets/js/src/help/system_info.jsx @@ -25,7 +25,6 @@ function printData(data) { />); } return (
{MailPoet.I18n.t('systemInfoDataError')}
); - } function KnowledgeBase() { diff --git a/assets/js/src/listing/listing.jsx b/assets/js/src/listing/listing.jsx index 2516757055..6f731916b2 100644 --- a/assets/js/src/listing/listing.jsx +++ b/assets/js/src/listing/listing.jsx @@ -283,7 +283,6 @@ const ListingItems = React.createClass({ })} ); - }, }); @@ -415,7 +414,6 @@ const Listing = React.createClass({ return `/${base_url}/${params}`; } return `/${params}`; - }, setBaseUrlParams: function (base_url) { let ret = base_url; diff --git a/assets/js/src/listing/pages.jsx b/assets/js/src/listing/pages.jsx index e7f45b000a..09d71db82d 100644 --- a/assets/js/src/listing/pages.jsx +++ b/assets/js/src/listing/pages.jsx @@ -176,7 +176,6 @@ define([ { pagination } ); - }, }); diff --git a/assets/js/src/listing/search.jsx b/assets/js/src/listing/search.jsx index 407e7b0745..4cc273c6d5 100644 --- a/assets/js/src/listing/search.jsx +++ b/assets/js/src/listing/search.jsx @@ -38,7 +38,6 @@ define([ ); - }, }); diff --git a/assets/js/src/newsletters/listings/mixins.jsx b/assets/js/src/newsletters/listings/mixins.jsx index e286dfafe3..b4127edd59 100644 --- a/assets/js/src/newsletters/listings/mixins.jsx +++ b/assets/js/src/newsletters/listings/mixins.jsx @@ -139,7 +139,6 @@ const QueueMixin = { ); - }, }; @@ -316,7 +315,6 @@ const StatisticsMixin = { {after_content} ); - } return ( diff --git a/assets/js/src/newsletters/listings/notification.jsx b/assets/js/src/newsletters/listings/notification.jsx index d6f9eb18c1..8aef3dcd95 100644 --- a/assets/js/src/newsletters/listings/notification.jsx +++ b/assets/js/src/newsletters/listings/notification.jsx @@ -271,7 +271,6 @@ const NewsletterListNotification = React.createClass({ to={`/notification/history/${newsletter.id}`} >{ MailPoet.I18n.t('viewHistory') } ); - }, renderItem: function (newsletter, actions) { const rowClasses = classNames(