Skip to content

How to use regression.js in a browser #106

Open
@alitaker

Description

@alitaker

Hi, the readme states that regression.js works in a browser too, but I can't seem to use it when importing with:
import {regression} from 'regression';
Either I get
ReferenceError: regression is not defined
when using it
or
TypeError: global is undefined
or
TypeError: a is undefined
when using the minified version.

Can anybody provide a strip down HTML example without using node.js or package managers?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions