Skip to content

Commit 1257623

Browse files
pocketcolindplewis
authored andcommitted
Replace var with const (#743)
1 parent 945359f commit 1257623

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@ The JavaScript ecosystem is wide and incorporates a large number of platforms an
2525
To use the npm modules for a browser based application, include it as you normally would:
2626

2727
```js
28-
var Parse = require('parse');
28+
const Parse = require('parse');
2929
```
3030

3131
For server-side applications or Node.js command line tools, include `'parse/node'`:
3232

3333
```js
3434
// In a node.js environment
35-
var Parse = require('parse/node');
35+
const Parse = require('parse/node');
3636
```
3737

3838
For React Native applications, include `'parse/react-native'`:
3939
```js
4040
// In a React Native application
41-
var Parse = require('parse/react-native');
41+
const Parse = require('parse/react-native');
4242

4343
// On React Native >= 0.50 and Parse >= 1.11.0, set the Async
44-
var AsyncStorage = require('react-native').AsyncStorage;
44+
const AsyncStorage = require('react-native').AsyncStorage;
4545
Parse.setAsyncStorage(AsyncStorage);
4646
```
4747

0 commit comments

Comments
 (0)