Skip to content

Commit

Permalink
browser compatibility notes
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Nov 25, 2012
1 parent e14cce3 commit 0557b39
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/timing.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ test('timing test', function (t) {
t.plan(2);

t.equal(typeof Date.now, 'function');
var start = Date.now();
var start = new Date;

setTimeout(function () {
t.equal(Date.now() - start, 100);
t.equal(new Date - start, 100);
}, 100);
});
6 changes: 6 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ tap-producing test harness for node and browsers

[![build status](https://secure.travis-ci.org/substack/tape.png)](http://travis-ci.org/substack/tape)

# browser compatibility

chrome, firefox, opera, safari, IE6, IE7, IE8, IE9

using browserify@1.16.5

# example

``` js
Expand Down

0 comments on commit 0557b39

Please sign in to comment.