Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Web Worker support #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 18, 2019

  1. Enable Web Worker support

    This commit allows for this library to be imported within the context of a web worker. When a script is imported via a Worker the `self` should be a sub-type of the `WorkerGlobalScope` object.
    
    Registering the library to `self.cssbeautify` allows workers to access it via `this.cssbeautify`.
    mallardduck committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    d42a85d View commit details
    Browse the repository at this point in the history