Skip to content

Commit

Permalink
travis stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Dec 1, 2013
1 parent a563101 commit 24ca3a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_js:
- "0.8"
- "0.10"
language: node_js
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Emitter
# Emitter [![Build Status](https://travis-ci.org/component/emitter.png)](https://travis-ci.org/component/emitter)

Event emitter component.

Expand Down Expand Up @@ -40,7 +40,7 @@ user.emit('im a user');
var Emitter = require('emitter');
Emitter(User.prototype);
```

### Emitter#on(event, fn)

Register an `event` handler `fn`.
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"repository": {
"type": "git",
"url": "https://github.com/component/emitter.git"
},
"scripts": {
"test": "make test"
}
}

0 comments on commit 24ca3a0

Please sign in to comment.