Skip to content

Commit

Permalink
feat(index): add index module which requires commonjs build
Browse files Browse the repository at this point in the history
Closes #117
  • Loading branch information
jeffbcross committed Jul 22, 2015
1 parent ea13974 commit 379d2d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/cjs/RxNext');
8 changes: 8 additions & 0 deletions spec/root-module-spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* globals describe, it, expect */
var RxNext = require('../index');

describe('Root Module', function () {
it('should contain exports from commonjs modules', function () {
expect(typeof RxNext.Observable).toBe('function');
});
});

0 comments on commit 379d2d1

Please sign in to comment.