Skip to content

Importing with require / include error and quotes #48

Open
@actinetwork

Description

@actinetwork

When we import a JS file with quotes like "`", we have an error.

Example:

--- JS line

throw new Error('selector option must be specified when initializing ' + this.type + ' on the window.document object!')

--- Error with Gulp include
...\assets\js\dev\general.js:63:27: error: unexpected identifier
//throw new Error('←[1;31mselector←[0m option must be specified when initializing ' + this.type + ' on the window.document object!')

←[1;31m ^^^^^^^^←[0m


Best regards,

Stéphane

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions