one-spaces
Advanced tools
Comparing version 1.1.5 to 1.1.6
/** | ||
* @author TroyTae | ||
* @version 1.1.5 | ||
* @version 1.1.6 | ||
* @name one-spaces | ||
@@ -16,6 +16,9 @@ */ | ||
if (arg = arguments[index]) { | ||
if (className) { | ||
className += ' '; | ||
} | ||
className += ( | ||
arg.pop ? | ||
OneSpaces.apply(0, arg) : | ||
arg + ' ' | ||
arg.pop | ||
? OneSpaces.apply(0, arg) | ||
: arg | ||
); | ||
@@ -22,0 +25,0 @@ } |
@@ -1,1 +0,1 @@ | ||
var OneSpaces=function e(){var n,p="",a=arguments.length;while(a--)(n=arguments[a])&&(p+=n.pop?e.apply(0,n):n+" ");return p}; | ||
var OneSpaces=function e(){var n,p="",a=arguments.length;while(a--)(n=arguments[a])&&(p&&(p+=" "),p+=n.pop?e.apply(0,n):n);return p}; |
{ | ||
"name": "one-spaces", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "A tiny module for making className 😎", | ||
"main": "dist/index.js", | ||
"homepage": "https://github.com/TroyTae/one-spaces", | ||
"author": { | ||
@@ -8,0 +7,0 @@ "name": "TroyTae", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27
3803
5