Skip to content

Commit

Permalink
Minor formatting fix
Browse files Browse the repository at this point in the history
I had missed putting the init function the `resume` function and only put it in the `ready` function.  I think that marking it as code will make it easier to see for other users.

Cheers
  • Loading branch information
Dan Green committed Oct 12, 2015
1 parent c7fb681 commit 9d89990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $ cordova emulate ios

#### Initialization and Event Handling

You should initialize the Branch SDK session once the 'deviceready' event fires and each time the 'resume' event fires. See the example code below. You will need your Branch Key from the Branch dashboard.
You should initialize the Branch SDK session once the `deviceready` event fires and each time the `resume` event fires. See the example code below. You will need your Branch Key from the Branch dashboard.

```js
branch.init("YOUR BRANCH KEY HERE", function(err, data) {
Expand Down

0 comments on commit 9d89990

Please sign in to comment.