change undeclared variable to intended value
Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: (You can skip this if you're fixing a typo or adding an app to the Showcase.) Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). For more info, see the ["Pull Requests" section of our "Contributing" guidelines](https://github.com/facebook/react-native/blob/mas Closes https://github.com/facebook/react-native/pull/7770 Differential Revision: D3352007 fbshipit-source-id: eedb964d245445b61fed79245380f0803473c455
This commit is contained in:
parent
a4f1857bf5
commit
4879f88a75
|
@ -122,7 +122,7 @@ var AsyncStorage = {
|
|||
* traits: {eyes: 'blue', shoe_size: 10}
|
||||
* };
|
||||
|
||||
* AsyncStorage.setItem(store_key, JSON.stringify(UID123_object), () => {
|
||||
* AsyncStorage.setItem('UID123', JSON.stringify(UID123_object), () => {
|
||||
* AsyncStorage.mergeItem('UID123', JSON.stringify(UID123_delta), () => {
|
||||
* AsyncStorage.getItem('UID123', (err, result) => {
|
||||
* console.log(result);
|
||||
|
|
Loading…
Reference in New Issue