riku
2024-11-14 2a04ae9a602c88c1c8a16da154c3a51075e88d86
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(' ');
};