Skip to content

TypeError: Object.keys called on non-object #2

@thib3113

Description

@thib3113

I make this :

parser = new Parser(body);
result = parser.parse({
    element: { 
        selector: ".DataGrid ul",
        multiple: true,
        remove: ".data_head"
    }
});

body, is valid HTML.

But I have this error :

TypeError: Object.keys called on non-object
    at Function.keys (native)
    at Parser.parse (/home/thib3113/Documents/node_test/script_upload/node_modules/jq-html-parser/lib/Parser.js:15:19)

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