Skip to content

Requiring portal.web doesn't work in clojurescript/node #3

@farcaller

Description

@farcaller

playback.core requires portal.web if it's running under cljs: https://github.com/gnl/playback/blob/master/src/playback/core.cljc#L20. This immediately crashes nodejs runtime as it's missing the window global.

There needs to be some alternative that allows to use portal.web even in cljs.

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