Skip to content

Commit

Permalink
Merge pull request summernote#1998 from Xiphin/develop
Browse files Browse the repository at this point in the history
Update spelling errors
  • Loading branch information
hackerwins authored Jul 25, 2016
2 parents cc6fb1b + 2662638 commit 5c656ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/summernote.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
};

/**
* returns a copy of the array with all falsy values removed
* returns a copy of the array with all false values removed
*
* @param {Array} array - array
* @param {Function} fn - predicate function for cluster rule
Expand Down
2 changes: 1 addition & 1 deletion src/js/base/core/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ define(['summernote/base/core/func'], function (func) {
};

/**
* returns a copy of the array with all falsy values removed
* returns a copy of the array with all false values removed
*
* @param {Array} array - array
* @param {Function} fn - predicate function for cluster rule
Expand Down
2 changes: 1 addition & 1 deletion test/unit/base/core/list.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ define([
});

describe('compact', function () {
it('should remove all elements has falsy value', function () {
it('should remove all elements has false value', function () {
expect(list.compact([0, 1, false, 2, '', 3])).to.deep.equal([1, 2, 3]);
});
});
Expand Down

0 comments on commit 5c656ef

Please sign in to comment.