Skip to content

Commit

Permalink
add comments to code
Browse files Browse the repository at this point in the history
  • Loading branch information
aaustin committed Feb 25, 2016
1 parent 77776e3 commit 6694758
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,12 @@ Once you've created your `Branch Universal Object`, which is the reference to th
##### Usage
```js
branchUniversalObj.generateShortUrl({
// put your link properties here
"feature" : "sample-feature",
"alias" : "sample-alias",
"channel" : "sample-channel",
"stage" : "sample-stage"
}, {
// put your control parameters here
"$desktop_url" : "http://desktop-url.com",
}).then(function (res) {
// Success Callback
Expand Down Expand Up @@ -372,12 +373,13 @@ The Branch iOS SDK includes a wrapper on the UIActivityViewController, that will
##### Usage
```js
branchUniversalObj.showShareSheet({
// put your link properties here
"feature" : "sample-feature",
"alias" : "sample-alias",
"channel" : "sample-channel",
"stage" : "sample-stage",
"duration" : 1,
}, {
// put your control parameters here
"$desktop_url" : "http://desktop-url.com",
});
```
Expand Down

0 comments on commit 6694758

Please sign in to comment.