Skip to content

Commit

Permalink
Test in Node.js v4.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Sep 14, 2015
1 parent 2eff2bd commit 4a4b567
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ES6 `String.prototype.repeat` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.prototype.repeat.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.prototype.repeat)

A robust & optimized ES3-compatible polyfill for [the `String.prototype.repeat` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.repeat).
A robust & optimized ES3-compatible polyfill for [the `String.prototype.repeat` method in ECMAScript 6](http://ecma-international.org/ecma-262/6.0/#sec-string.prototype.repeat).

Other polyfills for `String.prototype.repeat` are available:

Expand All @@ -14,13 +14,13 @@ In a browser:
<script src="repeat.js"></script>
```

Via [npm](http://npmjs.org/):
Via [npm](https://www.npmjs.com/):

```bash
npm install string.prototype.repeat
```

Then, in [Node.js](http://nodejs.org/):
Then, in [Node.js](https://nodejs.org/):

```js
require('string.prototype.repeat');
Expand Down

0 comments on commit 4a4b567

Please sign in to comment.