Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Jun 22, 2016
1 parent 2416b38 commit d1b3453
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Coming soon. [https://developer.apple.com/videos/play/wwdc2016/724/](https://dev
Create an APNS client using signed certificates:

```javascript
const fs = require('fs');
const APNS = require('apns2');

let client = new APNS({
Expand All @@ -51,7 +52,7 @@ let bn = new BasicNotification(deviceToken, 'Hello, World');
client.send(bn).then(() => {
// sent successfully
}).catch(err => {
console.log(err.reason);
console.error(err.reason);
});
```

Expand All @@ -70,7 +71,7 @@ let bn = new BasicNotification(deviceToken, 'Hello, World', {
client.send(bn).then(() => {
// sent successfully
}).catch(err => {
console.log(err.reason);
console.error(err.reason);
});
```

Expand All @@ -86,7 +87,7 @@ let sn = new SilentNotification(deviceToken);
client.send(sn).then(() => {
// sent successfully
}).catch(err => {
console.log(err.reason);
console.error(err.reason);
});
```

Expand All @@ -102,7 +103,7 @@ let sn = new SilentNotification(deviceToken, {
client.send(sn).then(() => {
// sent successfully
}).catch(err => {
console.log(err.reason);
console.error(err.reason);
});
```

Expand All @@ -120,7 +121,7 @@ let notification = new Notification(deviceToken, {
client.send(notification).then(() => {
// sent successfully
}).catch(err => {
console.log(err.reason);
console.error(err.reason);
});
```

Expand Down

0 comments on commit d1b3453

Please sign in to comment.