Skip to content

RequireJS can't load typeahead.js module #1211

@iMoses

Description

@iMoses

RequireJS expects the module name to be delivered without an extension and when an extension is provided it is considered an absolute path, relative to the domain name and not the base URL.

I've just updated typeahead.js from version 0.10.5 to 0.11.1 and each time RequireJS will try to load /typeahead.js and get a 404 since no file exists in this directory (I'm using the typeahead.bundle file).

You also cannot create a path for typeahead.js, paths in RequireJS must NOT end with a file extension.

Can you please rename the module to typeahead without the .js extension?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions