mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
40
web/node_modules/clsx/dist/clsx.js
generated
vendored
Normal file
40
web/node_modules/clsx/dist/clsx.js
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
function toVal(mix) {
|
||||
var k, y, str='';
|
||||
|
||||
if (typeof mix === 'string' || typeof mix === 'number') {
|
||||
str += mix;
|
||||
} else if (typeof mix === 'object') {
|
||||
if (Array.isArray(mix)) {
|
||||
for (k=0; k < mix.length; k++) {
|
||||
if (mix[k]) {
|
||||
if (y = toVal(mix[k])) {
|
||||
str && (str += ' ');
|
||||
str += y;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (k in mix) {
|
||||
if (mix[k]) {
|
||||
str && (str += ' ');
|
||||
str += k;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
module.exports = function () {
|
||||
var i=0, tmp, x, str='';
|
||||
while (i < arguments.length) {
|
||||
if (tmp = arguments[i++]) {
|
||||
if (x = toVal(tmp)) {
|
||||
str && (str += ' ');
|
||||
str += x
|
||||
}
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
40
web/node_modules/clsx/dist/clsx.m.js
generated
vendored
Normal file
40
web/node_modules/clsx/dist/clsx.m.js
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
function toVal(mix) {
|
||||
var k, y, str='';
|
||||
|
||||
if (typeof mix === 'string' || typeof mix === 'number') {
|
||||
str += mix;
|
||||
} else if (typeof mix === 'object') {
|
||||
if (Array.isArray(mix)) {
|
||||
for (k=0; k < mix.length; k++) {
|
||||
if (mix[k]) {
|
||||
if (y = toVal(mix[k])) {
|
||||
str && (str += ' ');
|
||||
str += y;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (k in mix) {
|
||||
if (mix[k]) {
|
||||
str && (str += ' ');
|
||||
str += k;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
export default function () {
|
||||
var i=0, tmp, x, str='';
|
||||
while (i < arguments.length) {
|
||||
if (tmp = arguments[i++]) {
|
||||
if (x = toVal(tmp)) {
|
||||
str && (str += ' ');
|
||||
str += x
|
||||
}
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
1
web/node_modules/clsx/dist/clsx.min.js
generated
vendored
Normal file
1
web/node_modules/clsx/dist/clsx.min.js
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.clsx=n()}(this,(function(){function e(n){var t,f,o="";if("string"==typeof n||"number"==typeof n)o+=n;else if("object"==typeof n)if(Array.isArray(n))for(t=0;t<n.length;t++)n[t]&&(f=e(n[t]))&&(o&&(o+=" "),o+=f);else for(t in n)n[t]&&(o&&(o+=" "),o+=t);return o}return function(){for(var n,t,f=0,o="";f<arguments.length;)(n=arguments[f++])&&(t=e(n))&&(o&&(o+=" "),o+=t);return o}}));
|
Loading…
Add table
Add a link
Reference in a new issue