function parseTransformString(a) {
    var c = {};
    var d = a && /\)/.test(a)
      ? a.substring(0, a.length - 1).split(/\)\s|\)/)
      : 'none';

    if (d instanceof Array) {
      for (var j = 0, jl = d.length; j < jl; j += 1) {
        var ref = d[j].trim().split('(');
        var prop = ref[0];
        var val = ref[1];
        c[prop] = val;
      }
    }
    return c;
  }
Parse SVG transform string and return an object.
@param {string} a transform string
@returns {Object<string, (string | number)>}