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

Using in the browser #115

Closed
richardgetz opened this issue Apr 10, 2017 · 1 comment
Closed

Using in the browser #115

richardgetz opened this issue Apr 10, 2017 · 1 comment

Comments

@richardgetz
Copy link

I don't have much experience with js and I'm probably doing something wrong, but is there a proper way to use this in the browser? I'm trying to pass a variable from php to js in the browser so I can display the sentiment scores on a webpage. I have tried browserify but I when I attempt to output the variable it says undefined. Sorry if this makes no sense, I appreciate any help!

@richardgetz
Copy link
Author

While my workaround may not have been the intended way of doing it I was able to get it working by using browserify and changing the order of variables.

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

1 participant