Skip to content

Cannot include tablesort.number #203

@KennyH1

Description

@KennyH1

My JS file:
import ('../node_modules/tablesort/src/sorts/tablesort.number');
var Tablesort = require('../node_modules/tablesort/src/tablesort');

new Tablesort(document.getElementById('table-id'));

I get this error:
Uncaught (in promise) ReferenceError: Tablesort is not defined at eval (tablesort.number.js?ea31:16) at eval (tablesort.number.js?ea31:26) at Object.XC2G (0.js:10) at __webpack_require__ (runtime.js:791) at fn (runtime.js:151) at fn.t (runtime.js:195)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions