Skip to content

Commit

Permalink
Merge 43151db into 14e7b50
Browse files Browse the repository at this point in the history
  • Loading branch information
sbichenko committed Apr 22, 2015
2 parents 14e7b50 + 43151db commit 16209ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

var libPrefix = process.env.COVER ? './lib-cov' : './lib';

module.exports = {
module.exports = process.browser ? {
compare: require('./lib/compare'),
XMLSerializer: require('./lib/canonizer'),
revXPath: require('./lib/revxpath'),
GroupingReporter: require('./lib/reporters/groupingReporter.js')
} :
{
compare: require(libPrefix + '/compare'),
XMLSerializer: require(libPrefix + '/canonizer'),
revXPath: require(libPrefix + '/revxpath'),
Expand Down

0 comments on commit 16209ba

Please sign in to comment.