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

added react_ujs into sources #189

Open
wants to merge 4 commits into
base: hyperloop-legacy
from

Conversation

@mpantel
Copy link

@mpantel mpantel commented May 13, 2019

Fixes #188 for legacy

mpantel added 2 commits May 13, 2019
@@ -178,7 +178,7 @@ def when_on_client(&block)
def send_to_server(*args)
if IsomorphicHelpers.on_opal_server?
method_string = "ServerSideIsomorphicMethod." + @name + "(" + args.to_json + ")"
@result = [JSON.parse(`eval(method_string)`)]

This comment has been minimized.

@mpantel

mpantel May 17, 2019
Author

I suppose @Result = [JSON.parse(eval(method_string))] does nothing? Does it?

@catmando
Copy link
Contributor

@catmando catmando commented Jun 6, 2019

@mpantel I apologize that I have been behind on reviewing these commits.

would you mind trying this in latest hyperstack (edge branch) and seeing if its working there. Unless you really want this fixed in the legacy branch. But otherwise I would like to get everybody on edge and make changes there.

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.