Skip to content

Commit

Permalink
Don't use browser alias for component-indexof dependency.
Browse files Browse the repository at this point in the history
This way, `component-classes` won't break node code/tests when imported.
  • Loading branch information
ockham committed Feb 26, 2016
1 parent 7e8440c commit ac37042
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

1.2.5 / 2016-02-26
==================

* don't use browser alias for component-indexof dependency.

1.2.4 / 2015-03-17
==================

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Module dependencies.
*/

var index = require('indexof');
var index = require('component-indexof');

/**
* Whitespace regexp.
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"dependencies": {
"component-indexof": "0.0.3"
},
"browser": {
"indexof": "component-indexof"
},
"component": {
"scripts": {
"classes/index.js": "index.js"
Expand Down

0 comments on commit ac37042

Please sign in to comment.