classnames
Advanced tools
Comparing version 2.1.4 to 2.1.5
{ | ||
"name": "classnames", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -73,4 +73,12 @@ /*! | ||
_parseArray(classSet, arguments); | ||
var list = []; | ||
for (var k in classSet) { | ||
if (hasOwn.call(classSet, k) && classSet[k]) { | ||
list.push(k) | ||
} | ||
} | ||
return Object.keys(classSet).join(' '); | ||
return list.join(' '); | ||
} | ||
@@ -77,0 +85,0 @@ |
# Changelog | ||
## v2.1.5 / 2015-09-30 | ||
* reverted a new usage of `Object.keys` in `dedupe.js` that slipped through in the last release | ||
## v2.1.4 / 2015-09-30 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "classnames", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -24,4 +24,10 @@ Classnames | ||
[Changelog](https://github.com/JedWatson/classnames/blob/master/HISTORY.md) | ||
### Project philosophy | ||
We take the stability and performance of this package seriously, because it is run millions of times a day in browsers all around the world. Updates are thoroughly reviewed for performance impacts before being released, and we have a comprehensive test suite. | ||
Classnames follows the [SemVer](http://semver.org/) standard for versioning. | ||
There is also a [Changelog](https://github.com/JedWatson/classnames/blob/master/HISTORY.md). | ||
## Usage | ||
@@ -28,0 +34,0 @@ |
18887
344
90