zlsa/atc

EHAM doesn't work

DennisPlant opened this issue · 7 comments

it just keeps loading? anyone have the same prolem?

Same problem here

Same

n8rzz commented

@erikquinn this fails in v3.1.0 due to a _comment key within the stars definition.

In v3.2.0 that has been addressed, however, this still fails from within the PositionModel.

PositionModel.calculatePosition = (coordinates, referencePostion, magneticNorth) => {
    if (!coordinates || !referencePostion || !magneticNorth) {
        throw new TypeError('Invalid parameter. PositionModel.getPosition() requires coordinates, referencePostion ' +
            'and magneticNorth as parameters');
    }

    // ...

magneticNorth is being evaluated as falsey (magneticNorth = 0) thus, it throws.

n8rzz commented

@DennisPlant @georgeenciu @willfrd The fix is in PR. When you have a minute, could you please take a look at the review app and make sure everything is in working order? https://atc-dev-pr-187.herokuapp.com/

Working, @n8rzz thanks for the fix! :)

n8rzz commented

:shipit:

Glad to hear it! This fix will be included in the upcoming v3.2.0 release

Resolved by #755. Closing.