Skip to content

Compatibility with Node.js#9

Open
zamadatix wants to merge 1 commit intoabeisgoat:masterfrom
zamadatix:patch-1
Open

Compatibility with Node.js#9
zamadatix wants to merge 1 commit intoabeisgoat:masterfrom
zamadatix:patch-1

Conversation

@zamadatix
Copy link

Per the discussion on Reddit from /u/daxxcqb https://www.reddit.com/r/javascript/comments/5h6ng1/%E0%B2%A0_%E0%B2%A0js/daxxcqb/ change "window.console.warn" to "self.console.warn" for compatibility with node.

Per the discussion on Reddit from /u/daxxcqb https://www.reddit.com/r/javascript/comments/5h6ng1/%E0%B2%A0_%E0%B2%A0js/daxxcqb/ change "window.console.warn" to "self.console.warn" for compatibility with node.
@Jameskmonger
Copy link

This will not work @zamadatix (I am /u/jkmonger who posted the fix on reddit). You need to keep the bottom line the same and only change the references to window.console

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