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

Implement .log to log map property changes #53

Merged
merged 1 commit into from
Oct 19, 2017
Merged

Implement .log to log map property changes #53

merged 1 commit into from
Oct 19, 2017

Conversation

m-mujica
Copy link
Contributor

@m-mujica m-mujica commented Oct 17, 2017

Example output:

screen shot 2017-10-17 at 15 05 12

@justinbmeyer
Copy link
Contributor

justinbmeyer commented Oct 17, 2017 via email

@justinbmeyer
Copy link
Contributor

justinbmeyer commented Oct 17, 2017 via email

@m-mujica
Copy link
Contributor Author

Sure thing,

screen shot 2017-10-17 at 16 41 54

looking pretty now.

@m-mujica m-mujica force-pushed the log branch 2 times, most recently from e467a79 to 7372f66 Compare October 19, 2017 15:46
@m-mujica
Copy link
Contributor Author

@justinbmeyer I changed this so it does not rely on the changes of can-event-queue.

There is only two places where dispatch is called so I figured it was ok to just called this._log next to the propertyName dispatch call.

QUESTION: do I need a Set polyfill or is it ok to just do: new Set ?

};

var meta = ensureMeta(this);
meta.allowedLogKeysSet = meta.allowedLogKeysSet || new Set();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to polyfill Set for older browsers?

@m-mujica m-mujica merged commit 988bdbe into major Oct 19, 2017
@m-mujica m-mujica deleted the log branch October 19, 2017 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants