bumble-strings
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -0,1 +1,7 @@ | ||
## [0.6.3](https://github.com/littlebee/bumble-strings.git/compare/0.6.2...0.6.3) (2018-04-20) | ||
Weakly compare now functions as the documentation says. | ||
### Other Commits | ||
* [17dd04f](https://github.com/littlebee/bumble-strings.git/commit/17dd04f3c50ac8e5095566e82cbffb8d41f4490f) add test and fix remaining bug in weaklyCompare | ||
## [0.6.2](https://github.com/littlebee/bumble-strings.git/compare/0.6.1...0.6.2) (2018-04-20) | ||
@@ -2,0 +8,0 @@ I th |
@@ -155,11 +155,7 @@ // Generated by CoffeeScript 1.9.3 | ||
StringHelpers.weaklyCompare = function(str, otherStrings, options) { | ||
StringHelpers.weaklyCompare = function(str, otherStr, options) { | ||
if (options == null) { | ||
options = {}; | ||
} | ||
return this._withOneOrArray(otherStrings, (function(_this) { | ||
return function(otherStr) { | ||
return _this.weakValue(str, options).localeCompare(_this.weakValue(otherStr, options)); | ||
}; | ||
})(this)); | ||
return this.weakValue(str, options).localeCompare(this.weakValue(otherStr, options)); | ||
}; | ||
@@ -166,0 +162,0 @@ |
{ | ||
"name": "bumble-strings", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Some simple string helpers for testing weakly equality and more", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
27136
18
277