Skip to content

Conversation

@mickeyreiss-visor
Copy link

@apucacao Here's an attempt at solving #55. I modeled the Store API based on store.js.

I didn't take the liberty of adding a dependency to your SDK. However, as a consumer, I'd be open to that outcome, especially given the the lightweight and and robust nature of this particular library.

Copy link
Contributor

@apucacao apucacao left a comment

Choose a reason for hiding this comment

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

Thanks @mickeyreiss-visor — this look good! Special thanks for adding tests 🥇

I had one question, but other than that, 👍 .

var Identity = require('./Identity');
var utils = require('./utils');
var messages = require('./messages');
var store = require('./store');
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it matter than we require store.js here while the module is actually named Store.js (capital S)?

Copy link
Author

Choose a reason for hiding this comment

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

Good catch. That may cause problems in some environments. Fixed!

@mickeyreiss-visor
Copy link
Author

@apucacao pushed a fix and also rebased on master.

@apucacao
Copy link
Contributor

This should go out shortly. Thanks again @mickeyreiss-visor !

@apucacao apucacao merged commit cda0181 into launchdarkly:master Dec 15, 2017
eli-darkly pushed a commit that referenced this pull request May 7, 2018
move XMLHttpRequest into send method
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

Successfully merging this pull request may close these issues.

2 participants