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

Use JS class syntax in harness code #23

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

Commits on Aug 18, 2023

  1. Use JS class syntax in harness code

    Convert the harness code (and a bit of test code) to use JS class syntax, replacing
    `Utilities.createClass()` and `Utilities.createSubclass` with `class` and `extend`,
    fixing the formatting as appropriate.
    
    Mostly mechanical, other than passing `window.location` to `Utilities.parseParameters`
    so it doesn't depend on the current window object, and fixing a `this` access
    in `calculateScore()`.
    
    Some of these classes, like `Point`, are used in test code, so this may have some
    impact on test score.
    smfr committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    c5b2d32 View commit details
    Browse the repository at this point in the history