aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-12 18:05:08 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-13 14:25:00 +0100
commit27c49eda28940ca7600587b75fcbc9223268ee8b (patch)
treeb296526a4426370c20cff34aa55cc0097ee87d01 /server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js
parent3348f196c986cfc9db1cfeb2a57ae847c2f4df63 (diff)
downloadsonarqube-27c49eda28940ca7600587b75fcbc9223268ee8b.tar.gz
sonarqube-27c49eda28940ca7600587b75fcbc9223268ee8b.zip
SONAR-6331 refactor overview code
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js b/server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js
deleted file mode 100644
index e6ea091ce87..00000000000
--- a/server/sonar-web/src/main/js/apps/overview/helpers/measure-variation.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import React from 'react';
-import { formatMeasureVariation } from '../../../helpers/measures';
-
-
-export default React.createClass({
- render() {
- if (this.props.value == null || isNaN(this.props.value)) {
- return null;
- }
- let formatted = formatMeasureVariation(this.props.value, this.props.type);
- return <span>{formatted}</span>;
- }
-});