Skip to content

Commit

Permalink
working example
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Nov 17, 2011
1 parent 186b3d9 commit b559928
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/simple.js
@@ -0,0 +1,9 @@
var pushover = require('pushover');
var repos = pushover(__dirname + '/repos');

repos.create('beep');
repos.on('push', function (repo) {
console.log('received a push to ' + repo);
});

repos.listen(7000);

0 comments on commit b559928

Please sign in to comment.