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

Make DeviceMotionEventInit members nullable with null default #141

Closed
wants to merge 1 commit into from

Commits on Feb 28, 2024

  1. Make DeviceMotionEventInit members nullable with null default

    This change reverts #55 and defines the default values of the
    DeviceMotionEventInit as null as I believe was the original intent of
    the definition before that change.
    
    Null DeviceMotionEvent attributes have semantic meaning (they declare
    that the host does not provide the given sensor) and so script should
    be able to initialize an event with its attributes set to null.
    
    Fixed #91.
    reillyeon committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    dbdf9c4 View commit details
    Browse the repository at this point in the history