This commit is contained in:
sjk
2025-11-17 14:11:46 +08:00
commit ad4a600af9
1659 changed files with 171560 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
module.exports.getTypeof = function (obj) {
return typeof obj;
};
module.exports.getActionClass = function (prefix, buttonLayout) {
var cls = [prefix + '__button', prefix + '__button--action'];
if (buttonLayout) {
cls.push(prefix + '__button--' + buttonLayout);
}
return cls.join(' ');
};