riku
2026-03-05 9465dc404f7e7cd56100e4859ee0946a3fef7b09
1
2
3
4
5
6
7
8
9
10
11
12
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(' ');
};