Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.
This repository was archived by the owner on May 11, 2020. It is now read-only.

Nonexistent function "getNumber" called in Attr2MapOptions#toOptionValue() #778

Open
@fivegreenapples

Description

@fivegreenapples

I noticed some possibly unintended code...

Line 74 of attr2-map-options.js (line correct at commit:8a7e8db ) contains a call to getNumber().
This function doesn't exist in the code base so this always triggers an error - which is then caught and the value is handled further on in the toOptionValue() method. So this seems an odd bit of code, but perhaps it's a work in progress.

Relevant snippet given below:

try { // 1. Number?
    output = getNumber(input);
} catch(err) {

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions