From 89f2273b5d7cee54b3836e61105cdd3db07756c0 Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Wed, 25 Jan 2017 19:44:36 +0000 Subject: [PATCH] Tidy-ups --- ChangeLog.md | 6 ++++++ package.json | 2 +- src/app/components/ModalHelp.jsx | 1 + src/app/shipyard/Module.js | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index ebeeb54a..be4421ab 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,6 +9,12 @@ * Handle burst rate of fire as an absolute number rather than a perentage modification * Ensure that clip values are always rounded up * Ensure that focused weapon mod uses range modifier to increase falloff as well + * Use coriolis-data 2.2.11: + * Remove non-existent chaff launcher capacity blueprint grades + * Fix incorrect values for charge enhanced power distributor + * Remove incorrect AFMU blueprints + * Correct fragment cannon Double Shot blueprint information + * Correct Focused weapon blueprint information #2.2.10 * Fix detailed export of module reinforcement packages diff --git a/package.json b/package.json index 8c156bb4..c4a26791 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coriolis_shipyard", - "version": "2.2.11b", + "version": "2.2.11", "repository": { "type": "git", "url": "https://github.com/EDCD/coriolis" diff --git a/src/app/components/ModalHelp.jsx b/src/app/components/ModalHelp.jsx index 8b6f3d62..89b2454a 100644 --- a/src/app/components/ModalHelp.jsx +++ b/src/app/components/ModalHelp.jsx @@ -1,3 +1,4 @@ +/* eslint react/no-danger: 0 */ import React from 'react'; import { findDOMNode } from 'react-dom'; import TranslatedComponent from './TranslatedComponent'; diff --git a/src/app/shipyard/Module.js b/src/app/shipyard/Module.js index a92a5757..4ca5d84d 100755 --- a/src/app/shipyard/Module.js +++ b/src/app/shipyard/Module.js @@ -545,7 +545,7 @@ export default class Module { getClip() { // Clip size is always rounded up let result = this._getModifiedValue('clip'); - if (result) { result = Math.ceil(result) }; + if (result) { result = Math.ceil(result); } return result; }