Skip to content

Remove list of globe coordinate precisions #40

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

Merged
merged 3 commits into from
Jun 6, 2014
Merged

Conversation

adrianheine
Copy link
Contributor

It's not needed anymore and doesn't make any sense on this level.

@thiemowmde
Copy link
Contributor

Should this wait for wikimedia/data-values-value-view#58 being merged? Or does our dependency management take care of this?

@JeroenDeDauw
Copy link
Contributor

Since ValueView uses a stable release of DVJS, this can be merged dependency wise

@@ -70,7 +70,7 @@ define( [
// Look up precision text:
if( typeof expected === 'number' ) {

$.each( globeCoordinate.GlobeCoordinate.PRECISIONS, function( i, precision ) {
$.each( [ 0.1, 1 / 360 ], function( i, precision ) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This part of the test does not do anything now because these two values are not in the precisions array and the if below always fails.

Suggestion: Change the array to [ 10, 1, 1 / 60, 1 / 3600000 ] for now and we will tackle the rest in #41.

tobijat added a commit that referenced this pull request Jun 6, 2014
Remove list of globe coordinate precisions
@tobijat tobijat merged commit 005638d into master Jun 6, 2014
@tobijat tobijat deleted the globeCoordPrecision branch June 6, 2014 14:26
@thiemowmde thiemowmde added this to the 0.6 milestone Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants