Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Brain, Daniel(dbrain) committed May 13, 2016
1 parent 3b5c7e0 commit 80ce9ce
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ This also allows cross-domain post messages between two different windows (not j
## Example

```javascript

// In one window

postRobot.on('getCart', function(err, data, callback) {
Expand All @@ -45,19 +44,10 @@ postRobot.send(window, 'getCart', function(err, data) {
## One-off listener

```javascript

// In one window

postRobot.once('init', function(err, data, callback) {
console.log('init!!');
return callback();
});

// In another window

postRobot.send(window, 'init', function(err, data) {
console.log('init done');
});
```

## IE9+
Expand Down

0 comments on commit 80ce9ce

Please # to comment.