-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue 49: adding old SolCache JS sample #54
base: master
Are you sure you want to change the base?
Conversation
⚠ NOTE: this branch is not ready to be MERGED, at all. Needs some work. Just checking in for collaboration. |
A couple of notes:
Happy to look at this further |
Hey. Doing cleanup and stuff.
All the newer JS samples use basic HTML & JS, and |
Hey @TamimiGitHub , back on this, trying to clean it up. I added a bunch of old helper libs (jQuery and other styling libs) from a very old JS API tarball, hoping that it would "just work'. But still no go. Now getting: Urgh. Don't want to spend a lot of time on this just to get it working. Looking at the code, that function is in there, but I'm wondering if there's some kind of initialization race condition that didn't occur in old JavaScript but now we're hitting it? I have updated the "rough sample" HTML/JS code, and it works. Just not pretty. No GUI to configure the broker connection, etc. You have to modify the code to make it run in your env. Thoughts? I will configure and add a SolCache instance to my Singapore test broker, so you can try it out easily without having to stand one up yourself. |
@TamimiGitHub could probably use your help here..? @solace-dmckay dug up the old SolCache JS sample that used to be included with the old (pre-Guaranteed-messaging?) API. I've pushed it into a new branch, and also included a rough working sample I hacked together from the TopicSubscriber sample.
Looking briefly at the code, the old SolCache sample uses jquery, and I don't think our new ones do. Perhaps this is something we can get the API team to help with, but thought I'd give you a crack first..?