Skip to content

Commit f7ded3a

Browse files
author
AndreyGeonya
committed
fix jshint issues
1 parent c05ebe3 commit f7ded3a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/combinatorics/combinations.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
* For example given three fruits, say an apple, an orange and a pear,
2323
* there are three combinations of two that can be drawn from this set:
2424
* an apple and a pear; an apple and an orange; or a pear and an orange.
25-
*
25+
*
2626
* @example
27-
*
27+
*
2828
* var combinations = require('path-to-algorithms/src/' +
2929
* 'combinatorics/combinations').combinations;
3030
* var result = combinations(['apple', 'orange', 'pear'], 2);
3131
* // [['apple', 'orange'],
3232
* // ['apple', 'pear'],
3333
* // ['orange', 'pear']]
3434
* console.log(result);
35-
*
35+
*
3636
* @module combinatorics/combinations
3737
* @public
3838
* @param arr {Array} Set of items.

‎src/combinatorics/permutations.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* @example
3333
*
34-
* var permutations = require('path-to-algorithms/src/' +
34+
* var permutations = require('path-to-algorithms/src/' +
3535
* 'combinatorics/permutations').permutations;
3636
* var result = permutations(['apple', 'orange', 'pear']);
3737
*

‎src/combinatorics/variations-repetition.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
* Finds all the variations with repetition of given array.<br><br>
1919
* Variations with repetition is the number of ways to sample k elements
2020
* from a set of elements (which may be repeated).
21-
*
21+
*
2222
* @example
23-
* var variations = require('path-to-algorithms/src/combinatorics/' +
23+
* var variations = require('path-to-algorithms/src/combinatorics/' +
2424
* 'variations-repetition').variationsWithRepetion;
2525
* var result = variations(['apple', 'orange', 'pear'], 2);
2626
*

0 commit comments

Comments
 (0)