classnames
Advanced tools
Comparing version 2.1.2 to 2.1.3
{ | ||
"name": "classnames", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -84,3 +84,5 @@ /*! | ||
if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) { | ||
if (typeof module !== 'undefined' && module.exports) { | ||
module.exports = classNames; | ||
} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd){ | ||
// AMD. Register as an anonymous module. | ||
@@ -90,4 +92,2 @@ define(function () { | ||
}); | ||
} else if (typeof module !== 'undefined' && module.exports) { | ||
module.exports = classNames; | ||
} else { | ||
@@ -94,0 +94,0 @@ window.classNames = classNames; |
# Changelog | ||
## v2.1.3 / 2015-07-02 | ||
* updated UMD wrapper to support AMD and CommonJS on the same pacge | ||
## v2.1.2 / 2015-05-28 | ||
@@ -4,0 +8,0 @@ |
@@ -38,3 +38,5 @@ /*! | ||
if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) { | ||
if (typeof module !== 'undefined' && module.exports) { | ||
module.exports = classNames; | ||
} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd){ | ||
// AMD. Register as an anonymous module. | ||
@@ -44,4 +46,2 @@ define(function () { | ||
}); | ||
} else if (typeof module !== 'undefined' && module.exports) { | ||
module.exports = classNames; | ||
} else { | ||
@@ -48,0 +48,0 @@ window.classNames = classNames; |
{ | ||
"name": "classnames", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "A simple utility for conditionally joining classNames together", | ||
@@ -13,4 +13,5 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "mocha tests.js", | ||
"benchmarks": "node ./benchmarks/run" | ||
"benchmarks": "node ./benchmarks/run", | ||
"unit": "mocha tests/*.js", | ||
"test": "npm run unit" | ||
}, | ||
@@ -17,0 +18,0 @@ "keywords": [ |
@@ -82,23 +82,2 @@ Classnames | ||
(The MIT License) | ||
Copyright (c) 2015 Jed Watson | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
[MIT](LICENSE) |
Sorry, the diff of this file is not supported yet
15
334
17275
83