From e347ec70d6090116fcc3d03abe1aef23d6328b07 Mon Sep 17 00:00:00 2001 From: Kenan Yildirim Date: Mon, 26 Aug 2013 23:28:35 -0400 Subject: [PATCH] Release 1.5.9 --- README.md | 8 ++++---- bower.json | 2 +- component.json | 2 +- dist/primality.js | 4 ++-- dist/primality.min.js | 4 ++-- package.json | 2 +- primality.js | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 58465c4..babd788 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ numbers. ## Download - * [Development build](https://raw.github.com/KenanY/primality/1.5.8/dist/primality.js) - * [Production build](https://raw.github.com/KenanY/primality/1.5.8/dist/primality.min.js) + * [Development build](https://raw.github.com/KenanY/primality/1.5.9/dist/primality.js) + * [Production build](https://raw.github.com/KenanY/primality/1.5.9/dist/primality.min.js) ## Features @@ -151,8 +151,8 @@ primality.isWilsonPrime(563); ## Release Notes -### 1.5.8 +### 1.5.9 - - Outsource factorial function + - factorial@0.0 The full changelog is available [here](https://github.com/KenanY/primality/wiki/Changelog). \ No newline at end of file diff --git a/bower.json b/bower.json index c9477d0..d3b12bc 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "primality", - "version": "1.5.8", + "version": "1.5.9", "main": "./dist/primality.js", "ignore": [ ".*", diff --git a/component.json b/component.json index 30e7aec..dc48bdc 100644 --- a/component.json +++ b/component.json @@ -2,7 +2,7 @@ "name": "primality", "repo": "KenanY/primality", "description": "JavaScript library for prime numbers.", - "version": "1.5.8", + "version": "1.5.9", "keywords": [ "browser", "client", diff --git a/dist/primality.js b/dist/primality.js index f3ca61d..5d26fdf 100644 --- a/dist/primality.js +++ b/dist/primality.js @@ -1,5 +1,5 @@ /*! - * primality v1.5.7 + * primality v1.5.9 * (c) 2012–2013 Kenan Yildirim * * Includes functions from Lo-Dash @@ -137,7 +137,7 @@ function isWilsonPrime(value) { return _.contains(WILSON_PRIMES, value) ? true : (factorial(value - 1) + 1) % Math.pow(value, 2) === 0; } - primality.VERSION = "1.5.7"; + primality.VERSION = "1.5.9"; primality.areTwinPrimes = areTwinPrimes; primality.areCousinPrimes = areCousinPrimes; primality.areSexyPrimes = areSexyPrimes; diff --git a/dist/primality.min.js b/dist/primality.min.js index 4446901..a00fe1c 100644 --- a/dist/primality.min.js +++ b/dist/primality.min.js @@ -1,5 +1,5 @@ /*! - * primality v1.5.7 + * primality v1.5.9 * (c) 2012–2013 Kenan Yildirim * * Includes functions from Lo-Dash @@ -11,7 +11,7 @@ if(a.aliases.hasOwnProperty(b))return a.aliases[b]}},a.normalize=function(a,b){var c=[];if("."!=b.charAt(0))return b;a=a.split("/"),b=b.split("/");for(var d=0;d-1}Math.max,c.exports=e}),a.register("primality/lib/util/isArray.js",function(a,b,c){var d=RegExp("^"+(Object.prototype.valueOf+"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),e=d.test(e=Array.isArray)&&e,f=e||function(a){return a?"object"==typeof a&&toString.call(a)==arrayClass:!1};c.exports=f }),a.register("primality/lib/util/isFinite.js",function(a,b,d){function e(a){return f(a)&&!g(parseFloat(a))}var f=c.isFinite,g=c.isNaN;d.exports=e}),a.register("primality/lib/util/isNaN.js",function(a,b,c){function d(a){return"number"==typeof a||f.call(a)==g}function e(a){return d(a)&&a!=+a}var f=Object.prototype.toString,g="[object Number]";c.exports=e}),a.register("primality/node_modules/factorial/index.js",function(a,b,c){c.exports=function d(a){return 0===a?1:a*d(a-1)}}),a.alias("primality/primality.js","primality/index.js"); var b={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},c=b[typeof window]&&window||this,d=b[typeof exports]&&exports,e=b[typeof module]&&module&&module.exports==d&&module,f=b[typeof global]&&global;!f||f.global!==f&&f.window!==f||(c=f);var g=a("primality");"function"==typeof define&&"object"==typeof define.amd&&define.amd?(c.primality=g,define(function(){return g})):d&&!d.nodeType?e?(e.exports=g).primality=g:d.primality=g:c.primality=g}.call(this); \ No newline at end of file diff --git a/package.json b/package.json index ce9a803..ad6cd0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "primality", - "version": "1.5.8", + "version": "1.5.9", "description": "A JavaScript library for prime numbers.", "keywords": [ "browser", diff --git a/primality.js b/primality.js index b23f0bd..491b136 100644 --- a/primality.js +++ b/primality.js @@ -1,5 +1,5 @@ /*! - * primality v1.5.8 + * primality v1.5.9 * (c) 2012–2013 Kenan Yildirim * * Includes functions from Lo-Dash @@ -204,7 +204,7 @@ function isWilsonPrime(value) { * @memberOf primality * @type String */ -primality.VERSION = '1.5.8'; +primality.VERSION = '1.5.9'; primality.areTwinPrimes = areTwinPrimes; primality.areCousinPrimes = areCousinPrimes;