Skip to content

Commit

Permalink
Merge branch 'master' into firefox-alt-key
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed Jan 14, 2019
2 parents 5161378 + 215621a commit 9d60d81
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5,594 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = function(grunt) {
mocha: {
options: {
reporter: 'Nyan',
run: true
run: true,
growlOnSuccess: false
},
mousetrap: {
src: ['tests/mousetrap.html']
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ It has support for ``keypress``, ``keydown``, and ``keyup`` events on specific k
```html
<script src="/path/to/mousetrap.min.js"></script>
```

or install `mousetrap` from `npm` and require it

```js
var Mousetrap = require('mousetrap');
```
Expand Down Expand Up @@ -79,7 +79,7 @@ Unit tests run via <a href="http://mochajs.org/" target="_blank">mocha</a>.

### Running in browser

[View it online](http://rawgit.com/ccampbell/mousetrap/master/tests/mousetrap.html) to check your browser compatibility. You may also download the repo and open `tests/mousetrap.html` in your browser.
[View it online](http://rawgit.com/ccampbell/mousetrap/master/tests/mousetrap.html) to check your browser compatibility. You may also download the repo and open `tests/mousetrap.html` in your browser.

### Running with Grunt and PhantomJS

Expand All @@ -99,7 +99,7 @@ Unit tests run via <a href="http://mochajs.org/" target="_blank">mocha</a>.
3. Run tests

```bash
grunt mocha
npm test
```

## Documentation
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"gitHead": "c202a0bd4967d5a3064f9cb376db51dec9345336",
"readmeFilename": "README.md",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-complexity": "~0.1.2",
"grunt-mocha": "~0.3.1"
"grunt": "~1.0.3",
"grunt-complexity": "~1.1.0",
"grunt-mocha": "~1.1.0"
}
}
246 changes: 0 additions & 246 deletions tests/libs/mocha-1.9.0.css

This file was deleted.

Loading

0 comments on commit 9d60d81

Please sign in to comment.