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

Fixes script race condition, updates react to latest and fixes travis tests #61

Merged
merged 6 commits into from
Jan 20, 2016
Merged

Conversation

TomCaserta
Copy link
Contributor

Hopefully this fixes everything! We can bundle the react js source files together if required, should make it more user friendly, although having just checked it seems like the react-php-v8js already creates a bundle file we can use. In any case that can be implemented later, this will just fix it for now.

@talyssonoc talyssonoc added the bug label Jan 20, 2016
@talyssonoc
Copy link
Owner

Nice!!! Gonna merge it, it really seems to fix a lot of previous bugs. Thanks for your contribution 😄

talyssonoc added a commit that referenced this pull request Jan 20, 2016
Fixes script race condition, updates react to latest and fixes travis tests
@talyssonoc talyssonoc merged commit 0b263a4 into talyssonoc:master Jan 20, 2016
@TomCaserta TomCaserta deleted the react-fix branch January 20, 2016 16:25
}
},

handleEvents: function handleEvents() {
document.addEventListener('DOMContentLoaded', ReactLaravelUJS.mountComponents);
if (document.readyState == "complete" || document.readyState == "loaded" || document.readyState == "interactive") {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The line I was referencing in issue #68. Perhaps this may need to be modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

V8Js::executeString():1: TypeError: Cannot call method 'renderToString' of undefined Update react to v0.14
2 participants