classnames
Advanced tools
Comparing version 2.2.4 to 2.2.5
{ | ||
"name": "classnames", | ||
"version": "2.2.3", | ||
"version": "2.2.5", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -5,0 +5,0 @@ "main": [ |
@@ -12,2 +12,7 @@ /*! | ||
var classNames = (function () { | ||
// don't inherit from Object so we can skip hasOwnProperty check later | ||
// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232 | ||
function StorageObject() {} | ||
StorageObject.prototype = Object.create(null); | ||
function _parseArray (resultSet, array) { | ||
@@ -78,5 +83,3 @@ var length = array.length; | ||
// don't inherit from Object so we can skip hasOwnProperty check later | ||
// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232 | ||
var classSet = Object.create(null); | ||
var classSet = new StorageObject(); | ||
_parseArray(classSet, args); | ||
@@ -83,0 +86,0 @@ |
# Changelog | ||
## v2.2.5 / 2016-05-02 | ||
* Improved performance of `dedupe` variant even further, thanks [Andres Suarez](https://github.com/zertosh) | ||
## v2.2.4 / 2016-04-25 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "classnames", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
16964
9
205
0
189