one-spaces
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -1,1 +0,3 @@ | ||
export default function (): string; | ||
declare type Arguments = Array<string | object | Arguments>; | ||
declare function OneSpaces(...args: Array<string | object | Arguments>): string; | ||
export default OneSpaces; |
/** | ||
* @author TroyTae | ||
* @version 0.6.2 | ||
* @version 0.6.3 | ||
* @name one-spaces | ||
*/ | ||
'use strict';var OBJECT_TYPE_LITERAL = 'object'; | ||
function index () { | ||
function OneSpaces() { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
var k; | ||
@@ -26,2 +30,2 @@ var argument; | ||
return className; | ||
}module.exports=index; | ||
}module.exports=OneSpaces; |
@@ -1,1 +0,1 @@ | ||
var OneSpaces=function(){"use strict";var e="object";return function(){for(var r,n,t="",f=arguments.length;f--;)if(typeof(n=arguments[f])===e)for(r in n)n[r]&&(t+=" "+r);else t+=" "+n;return t}}(); | ||
var OneSpaces=function(){"use strict";var r="object";return function(){for(var e,n,t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];for(var o="",a=arguments.length;a--;)if(typeof(n=arguments[a])===r)for(e in n)n[e]&&(o+=" "+e);else o+=" "+n;return o}}(); |
{ | ||
"name": "one-spaces", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "A tiny module for making className 😎", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,4 +1,6 @@ | ||
type Arguments = Array<string | object | Arguments>; | ||
const OBJECT_TYPE_LITERAL = 'object'; | ||
export default function() { | ||
function OneSpaces(...args: Array<string | object | Arguments>) { | ||
let k; | ||
@@ -22,1 +24,3 @@ let argument; | ||
} | ||
export default OneSpaces; |
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
7989
90