{window.CORIOLIS_VERSION} - {window.CORIOLIS_DATE}
+ title="Coriolis Github Project">{window.CORIOLIS_VERSION} - {window.CORIOLIS_DATE}
{this.props.children};
}
-
-}
\ No newline at end of file
+}
diff --git a/src/app/components/AvailableModulesMenu.jsx b/src/app/components/AvailableModulesMenu.jsx
index 8e743165..cddafb14 100644
--- a/src/app/components/AvailableModulesMenu.jsx
+++ b/src/app/components/AvailableModulesMenu.jsx
@@ -98,7 +98,7 @@ const CATEGORIES = {
'defence': ['ch', 'po', 'ec'],
'scanners': ['sc', 'ss', 'cs', 'kw', 'ws'], // Overloaded with internal scanners
// Experimental
- 'experimental': ['axmc', 'axmr', 'rfl', 'tbrfl', 'tbsc', 'tbem', 'xs', 'sfn', 'rcpl', 'dtl', 'rsl', 'mahr', ],
+ 'experimental': ['axmc', 'axmr', 'rfl', 'tbrfl', 'tbsc', 'tbem', 'xs', 'sfn', 'rcpl', 'dtl', 'rsl', 'mahr',],
// Guardian
'guardian': ['gpp', 'gpd', 'gpc', 'ggc', 'gsrp', 'gfsb', 'ghrp', 'gmrp', 'gsc']
@@ -108,7 +108,6 @@ const CATEGORIES = {
* Available modules menu
*/
export default class AvailableModulesMenu extends TranslatedComponent {
-
static propTypes = {
modules: PropTypes.oneOfType([PropTypes.object, PropTypes.array]).isRequired,
onSelect: PropTypes.func.isRequired,
@@ -159,7 +158,7 @@ export default class AvailableModulesMenu extends TranslatedComponent {
this._hideDiff(event);
onSelect(m);
}
- );
+ );
if (modules instanceof Array) {
list = buildGroup(modules[0].grp, modules);
@@ -502,14 +501,13 @@ export default class AvailableModulesMenu extends TranslatedComponent {
render() {
return (
this.node = node}
- className={cn('select', this.props.className)}
- onScroll={this._hideDiff}
- onClick={(e) => e.stopPropagation() }
- onContextMenu={stopCtxPropagation}
+ className={cn('select', this.props.className)}
+ onScroll={this._hideDiff}
+ onClick={(e) => e.stopPropagation() }
+ onContextMenu={stopCtxPropagation}
>
{this.state.list}
);
}
-
}
diff --git a/src/app/components/BarChart.jsx b/src/app/components/BarChart.jsx
index 47515169..ca2d448b 100644
--- a/src/app/components/BarChart.jsx
+++ b/src/app/components/BarChart.jsx
@@ -38,7 +38,6 @@ function insertLinebreaks(d) {
* Bar Chart
*/
export default class BarChart extends TranslatedComponent {
-
static defaultProps = {
colors: ['#7b6888', '#6b486b', '#3182bd', '#a05d56', '#d0743c'],
labels: null,
diff --git a/src/app/components/ComparisonTable.jsx b/src/app/components/ComparisonTable.jsx
index c2a9acd5..c1f6767f 100644
--- a/src/app/components/ComparisonTable.jsx
+++ b/src/app/components/ComparisonTable.jsx
@@ -10,7 +10,6 @@ import { outfitURL } from '../utils/UrlGenerators';
* Comparison Table
*/
export default class ComparisonTable extends TranslatedComponent {
-
static propTypes = {
facets: PropTypes.array.isRequired,
builds: PropTypes.array.isRequired,
diff --git a/src/app/components/CostSection.jsx b/src/app/components/CostSection.jsx
index ca7270f7..90019560 100644
--- a/src/app/components/CostSection.jsx
+++ b/src/app/components/CostSection.jsx
@@ -13,7 +13,6 @@ import { ShoppingIcon } from '../components/SvgIcons';
* Cost Section
*/
export default class CostSection extends TranslatedComponent {
-
static propTypes = {
ship: PropTypes.object.isRequired,
code: PropTypes.string.isRequired,
@@ -361,11 +360,11 @@ export default class CostSection extends TranslatedComponent {
for (let i = 0, l = retrofitCosts.length; i < l; i++) {
let item = retrofitCosts[i];
rows.push(
- | {item.sellClassRating} |
- {translate(item.sellName)} |
- {item.buyClassRating} |
- {translate(item.buyName)} |
- 0 ? 'warning' : 'secondary-disabled' : 'disabled')}>{int(item.netCost)}{units.CR} |
+ {item.sellClassRating} |
+ {translate(item.sellName)} |
+ {item.buyClassRating} |
+ {translate(item.buyName)} |
+ 0 ? 'warning' : 'secondary-disabled' : 'disabled')}>{int(item.netCost)}{units.CR} |
);
}
} else {
diff --git a/src/app/components/Defence.jsx b/src/app/components/Defence.jsx
index 3419801f..7987f943 100644
--- a/src/app/components/Defence.jsx
+++ b/src/app/components/Defence.jsx
@@ -226,26 +226,26 @@ export default class Defence extends TranslatedComponent {
return (
{shield.total ?
-
-
{translate('shield metrics')}
-
- {shieldSourcesTt}
)} onMouseOut={tooltip.bind(null, null)} className='summary'>{translate('raw shield strength')}
{formats.int(shield.total)}{units.MJ}
- {translate('PHRASE_TIME_TO_LOSE_SHIELDS')}
{shielddamage.totalsdps == 0 ? translate('ever') : formats.time(Calc.timeToDeplete(shield.total, shielddamage.totalsdps, shielddamage.totalseps, pd.getWeaponsCapacity(), pd.getWeaponsRechargeRate() * opponentWep / 4))}
- {translate('PHRASE_TIME_TO_RECOVER_SHIELDS')}
{shield.recover === Math.Inf ? translate('never') : formats.time(shield.recover)}
- {translate('PHRASE_TIME_TO_RECHARGE_SHIELDS')}
{shield.recharge === Math.Inf ? translate('never') : formats.time(shield.recharge)}
-
-