Skip to content

TypeError: URI is not a function #377

Closed
@sunknudsen

Description

@sunknudsen

Working on an older frontend stack (no Babel etc...).

Concatenated node_modules/uri-js/dist/es5/uri.all.js with my other vendors.

The following code used to work but now throws a type error (it is used to get the value of the bearer query string of the current URI).

var bearer = URI().query(true)['bearer'];

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions