one-spaces
Advanced tools
Comparing version 1.1.3 to 1.1.4
/** | ||
* @author TroyTae | ||
* @version 1.1.3 | ||
* @version 1.1.4 | ||
* @name one-spaces | ||
@@ -11,8 +11,7 @@ */ | ||
arg, | ||
args = arguments, | ||
index = args.length, | ||
className = '' | ||
className = '', | ||
index = arguments.length | ||
; | ||
while (index--) { | ||
if (arg = args[index]) { | ||
if (arg = arguments[index]) { | ||
className += ( | ||
@@ -19,0 +18,0 @@ arg.pop ? |
@@ -1,1 +0,1 @@ | ||
var OneSpaces=function e(){var n,p=arguments,a=p.length,r="";while(a--)(n=p[a])&&(r+=n.pop?e.apply(0,n):n+" ");return r}; | ||
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}; |
{ | ||
"name": "one-spaces", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A tiny(121B) module for making className 😎", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,5 +0,7 @@ | ||
[![npm](https://badge.fury.io/js/one-spaces.svg)](https://www.npmjs.com/package/one-spaces) | ||
[![size](https://img.shields.io/github/size/TroyTae/one-spaces/dist/one-spaces.js?style=flat-square)](https://github.com/TroyTae/one-spaces/blob/master/dist/one-spaces.js) | ||
[![npm](https://img.shields.io/npm/v/one-spaces?color=%23fb3e44&style=flat-square)](https://www.npmjs.com/package/one-spaces) | ||
[![license](https://img.shields.io/github/license/TroyTae/one-spaces?style=flat-square)](https://github.com/TroyTae/one-spaces/blob/master/LICENSE) | ||
# One Spaces | ||
A tiny(121B) module for making className 😎 | ||
A tiny module for making className 😎 | ||
## Installation | ||
@@ -53,4 +55,1 @@ | ||
Of course you can use this module with them but not recommended. | ||
## License | ||
MIT © Troy Tae |
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
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
9953
24
55