X Tutup
Skip to content

Performance improvement to markuppretty.js #418

@prettydiff

Description

@prettydiff

Convert the "x" and "s" values to -20 and -10 respectively. This enhancement was recently applied to the jspretty.js with no problems. This change ensures all values of the level array are numeric, thereby taking advantage of V8's shadow DOM performance modifier.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup