Skip to content

Commit

Permalink
Merge pull request #254 from nategood/patch-1
Browse files Browse the repository at this point in the history
Increment nElement
  • Loading branch information
kkoch986 committed Sep 7, 2015
2 parents 6a1ca3f + 98aeab6 commit 32a8309
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/natural/util/bag.js
Expand Up @@ -28,6 +28,7 @@ function Bag() {

Bag.prototype.add = function(element) {
this.dictionary.push(element);
this.nElement++;
return this;
};

Expand Down

0 comments on commit 32a8309

Please sign in to comment.