Skip to content

Commit

Permalink
Release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kenany committed Oct 2, 2013
1 parent 36bca80 commit da16917
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 18 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ numbers.

## Download

* [Development build](https://raw.github.com/KenanY/primality/1.6.0/dist/primality.js)
* [Production build](https://raw.github.com/KenanY/primality/1.6.0/dist/primality.min.js)
* [Development build](https://raw.github.com/KenanY/primality/1.6.1/dist/primality.js)
* [Production build](https://raw.github.com/KenanY/primality/1.6.1/dist/primality.min.js)

## Features

Expand Down Expand Up @@ -151,14 +151,11 @@ primality.isWilsonPrime(563);

## Release Notes

### 1.6.0
### 1.6.1

- [#11](https://github.com/KenanY/primality/issues/11): Added
`isWieferichPrime` function.
- [#13](https://github.com/KenanY/primality/issues/13): Fixed component
install issue.
- Slight performance boost by using a `while` loop instead of a `for` loop
when iterating through arrays.
- [#14](https://github.com/KenanY/primality/issues/14): lodash@2.0.0
- lodash.isnan@2.2
- lodash.isfinite@2.2
- lodash.isarray@2.2
- lodash.contains@2.2

The full changelog is available [here](https://github.com/KenanY/primality/wiki/Changelog).
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "primality",
"version": "1.6.0",
"version": "1.6.1",
"main": "./dist/primality.js",
"ignore": [
".*",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "primality",
"repo": "KenanY/primality",
"description": "JavaScript library for prime numbers.",
"version": "1.6.0",
"version": "1.6.1",
"keywords": [
"browser",
"client",
Expand Down
4 changes: 2 additions & 2 deletions dist/primality.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* primality v1.6.0
* primality v1.6.1
* Copyright 2012–2013 Kenan Yildirim
*
* This browser build of primality includes code licensed by other authors.
Expand Down Expand Up @@ -198,7 +198,7 @@
function isWieferichPrime(value) {
return _.contains(WIEFERICH_PRIMES, value) ? true : (Math.pow(2, value - 1) - 1) % Math.pow(value, 2) === 0;
}
primality.VERSION = "1.6.0";
primality.VERSION = "1.6.1";
primality.areTwinPrimes = areTwinPrimes;
primality.areCousinPrimes = areCousinPrimes;
primality.areSexyPrimes = areSexyPrimes;
Expand Down
4 changes: 2 additions & 2 deletions dist/primality.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "primality",
"version": "1.6.0",
"version": "1.6.1",
"description": "A JavaScript library for prime numbers.",
"keywords": [
"browser",
Expand Down
2 changes: 1 addition & 1 deletion primality.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function isWieferichPrime(value) {
* @memberOf primality
* @type String
*/
primality.VERSION = '1.6.0';
primality.VERSION = '1.6.1';

primality.areTwinPrimes = areTwinPrimes;
primality.areCousinPrimes = areCousinPrimes;
Expand Down

0 comments on commit da16917

Please sign in to comment.