Skip to content

Commit

Permalink
removed isDev function
Browse files Browse the repository at this point in the history
  • Loading branch information
justinjung04 committed Jul 11, 2016
1 parent 1587512 commit 8c13409
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/treeful.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ class Treeful {

// Private methods

this.isDev = () => _dev;

this.getTree = () => _tree;

this.getChildren = (id) => _tree[id].getChildren();
Expand Down
8 changes: 0 additions & 8 deletions test/treeful.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,6 @@ describe('treeful', () => {
Treeful.destroy();
});

/** enableDev **/

it('enables dev condtions', () => {
Treeful.enableDev();
expect(Treeful.isDev().toString()).toEqual('true');
Treeful.destroy();
});

/** checkIdExists **/

it('throws if a node id doesn\'t exist', () => {
Expand Down

0 comments on commit 8c13409

Please sign in to comment.