Skip to content

Commit dffff21

Browse files
committed
update README
1 parent 5aac5c7 commit dffff21

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ Finally, go to [localhost:8000](http://localhost:8000/). Voila! You're chirping.
4141

4242
We'll now take you through installing the JavaScript SDK within your own project.
4343

44-
### 1. Include the file `chirpjs.min.js` within your project.
44+
### 1. Include the file `chirpSDK.min.js` within your project.
4545

46-
Copy `chirpjs.min.js` to your project folder, and include it within your HTML:
46+
Copy `chirpSDK.min.js` to your project folder, and include it within your HTML:
4747

4848
```
49-
<script src="chirpjs.min.js"></script>
49+
<script src="chirpSDK.min.js"></script>
5050
```
5151

52-
### 2. Create a new instance of `Chirpjs` with your application key.
52+
### 2. Create a new instance of `ChirpSDK` with your application key.
5353

5454
Replace `YOUR_APP_KEY` with your application's key.
5555

5656
```
57-
var chirpjs = new Chirpjs("YOUR_APP_KEY");
57+
var chirpjs = new ChirpSDK("YOUR_APP_KEY");
5858
```
5959

60-
At this point, `Chirpjs` will automatically try to authenticate your application.
60+
At this point, `ChirpSDK` will automatically try to authenticate your application.
6161

6262
To catch the authentication response, you can pass a callback function as a second argument.
6363

6464
```
65-
var chirpjs = new Chirpjs("YOUR_APP_KEY", function(err, res) {
65+
var chirpjs = new ChirpSDK("YOUR_APP_KEY", function(err, res) {
6666
if (err) {
6767
console.error(err); return;
6868
}

0 commit comments

Comments
 (0)