purescript-web/purescript-web-cssom-view

Bug: Behaviour → Behavior

toastal opened this issue · 0 comments

https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll#behavior

Some parts of the code this is named incorrectly which won't work. If the English dialect discrepancies irk you, a type alias should suffice for the enum. There's probably a fancy way to unify the option key name with the Row-level renaming bits that could accept both.

It may be better to not try to read the PureScript data model from the FFI in case those implementations change--using print/parse for the enum, may be preferred.