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

Uncaught ReferenceError: time is not defined #1

Open
richardscarrott opened this issue Aug 10, 2015 · 3 comments
Open

Uncaught ReferenceError: time is not defined #1

richardscarrott opened this issue Aug 10, 2015 · 3 comments

Comments

@richardscarrott
Copy link

All of the console.* local variables are defined out of scope.

@TrySpace
Copy link
Owner

Are you using time() or nfo() outside of the component that has the mixin?

@richardscarrott
Copy link
Author

It defines all of the console aliases locally inside of ReactDebugMixin._consoleCheck and then tries to access them in other methods, e.g. time is called in ReactDebugMixin.componentWillMount.

Looking at the history I can't see that it would have ever worked unless those aliases were defined globally by some other module?

@TrySpace
Copy link
Owner

TrySpace commented Sep 2, 2015

You are probably right, i had loaded the aliases somewhere else globally.. Check the latest commit

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

No branches or pull requests

2 participants