Skip to content

Throws a Parse Error under PhantomJS #52

@cburgmer

Description

@cburgmer

Loading CSSOM under PhantomJS 1.8.1 either via

$ phantomjs cssom.js

or

$ phantomjs
> phantom.injectJs("CSSOM.js");

returns a SyntaxError: Parse error

Removing the initial 'use strict'; solves that problem.

I tried going through jshint to find a possibly offending issue, but it shows me too many warnings and stops before completing.

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