Skip to content
This repository has been archived by the owner. It is now read-only.

Conversation

@mattdesl
Copy link
Contributor

After my last PR, #244, there is a slight bug when you do something like this (passing numbers or non-strings) –

console.log(mouseX, mouseY);

This PR should fix that to ensure that styling is only applied when the first two arguments are strings, like this:

console.log('%cMouse:', 'background: red', mouseX, mouseY);

@lmccart lmccart merged commit ad7d9b1 into processing:master Jun 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants