Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport PR 5236 #6371

Merged
merged 2 commits into from
Mar 1, 2016
Merged

Backport PR 5236 #6371

merged 2 commits into from
Mar 1, 2016

Conversation

w33ble
Copy link
Contributor

@w33ble w33ble commented Mar 1, 2016

#5236 for 4.x

@@ -301,7 +301,7 @@ describe('Marker Tests', function () {
var arr = markerLayer._dataToHeatArray(max);
var index = _.random(mapData.features.length - 1);
var feature = mapData.features[index];
var featureValue = parseInt(feature.properties.value / max * 100);
var featureValue = parseInt(feature.properties.value / max);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these parseInt()s needs to be ditched. They were removed in the original PR.

@epixa epixa assigned w33ble and unassigned epixa Mar 1, 2016
@w33ble
Copy link
Contributor Author

w33ble commented Mar 1, 2016

@epixa yowsa. great catch, thanks!

@epixa epixa added the backport label Mar 1, 2016
epixa added a commit that referenced this pull request Mar 1, 2016
@epixa epixa merged commit 5f52d74 into elastic:4.x Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants