Skip to content
This repository was archived by the owner on May 30, 2020. It is now read-only.
This repository was archived by the owner on May 30, 2020. It is now read-only.

Invalid squeezing for files without semicolon #49

@stof

Description

@stof

This code (extracted from CodeMirror) is broken after applying jsqueeze on it:

    out.push(text)
    ++n

It is minified as

n.push(o)++r

while it must be

n.push(o);++r

you cannot remove the newline before an increment/decrement operator without inserting the semicolon explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions