Skip to content

Conversation

@louis-launchdarkly
Copy link
Contributor

// Set up the evaluation context. This context should appear on your
// LaunchDarkly contexts dashboard soon after you run the demo.
const context = {
kind: 'user',
Copy link
Contributor

Choose a reason for hiding this comment

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

For line 33 below, I have a suggestion:

div.replaceChild(document.createTextNode('Please edit index.html and set clientSideID to your LaunchDarkly client-side ID first. Please also set flagKey to your own flag key.'), div.firstChild);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Given we have the comment on line 17, line 32 doesn't check the flag key is the default sample-feature, and the README.md also asks people to set the flag key if they have any, so I think keeping the current message is fine.

Co-authored-by: Yusinto Ngadiman <yusinto@gmail.com>
@louis-launchdarkly louis-launchdarkly changed the title Update the Hello Java application based on the new specification Update the Hello JS application based on the new specification Apr 23, 2024
@louis-launchdarkly louis-launchdarkly merged commit 5eeaff6 into main Apr 24, 2024
@louis-launchdarkly louis-launchdarkly deleted the lc/update-based-on-spec branch April 24, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants