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

`watch` utility doesn't work in Safari #4

Closed
calebdwilliams opened this Issue Aug 3, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@calebdwilliams
Copy link
Owner

calebdwilliams commented Aug 3, 2018

The watch utility will not work in Safari because there is a getter and no setter. The following code works for set:

set(target, property, value) {
      target[property] = value;
      onChange(target, property, {value});
      return true;
}

@calebdwilliams calebdwilliams added the bug label Aug 3, 2018

@calebdwilliams calebdwilliams self-assigned this Aug 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment