Skip to content

ghost.injectScripts Array.slice undefined #173

@ALangguth

Description

@ALangguth

In the ghost.injectScripts function is an error.

Currently Array.slice() is used, which is undefined.
https://github.com/KevinGrandon/ghostjs/blob/master/ghostjs-core/src/ghostjs.js#L127

You can instead use: [].slice() or Array.protoype.slice()

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