Skip to content

Commit

Permalink
version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dankogai committed Jul 26, 2020
1 parent 7fb080a commit d37e020
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {Combination, Permutation} from 'combinatorics.js';
You don't even have to install if you `import` from CDNs.

```javascript
import * as $C from 'https://cdn.jsdelivr.net/npm/[email protected].0/combinatorics.min.js';
import * as $C from 'https://cdn.jsdelivr.net/npm/[email protected].1/combinatorics.min.js';
```

Since this is an ES6 module, `type="module"` is required the `<script>` tags. of your HTML files. But you can make it globally available as follows.
Expand Down Expand Up @@ -97,7 +97,7 @@ undefined
factoradic: [Function: factoradic],
factorial: [Function: factorial],
permutation: [Function: permutation],
version: '1.1.0'
version: '1.1.1'
}
> [...new $C.Permutation('abcd')]
[
Expand Down
2 changes: 1 addition & 1 deletion combinatorics.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @link: http://www.ruby-doc.org/core-2.0/Array.html#method-i-permutation
* @link: http://en.wikipedia.org/wiki/Factorial_number_system
*/
export const version = '1.1.0';
export const version = '1.1.1';
/**
* wrapper to `BigInt`. if `BigInt` is unavailable, `Number`.
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-combinatorics",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple combinatorics like power set, combination, and permutation in JavaScript",
"main": "combinatorics.js",
"module": "combinatorics.js",
Expand Down

0 comments on commit d37e020

Please sign in to comment.