example/js/svg.js
function camelCase(s) {
  return s.toLowerCase().replace(/-(.)/g, function(m, g) {
    return g.toUpperCase()
  })
}
function camelCase(s) {
  return s.toLowerCase().replace(/-(.)/g, function(m, g) {
    return g.toUpperCase()
  })
}
function camelCase ( s ) { return s . toLowerCase ( ) . replace ( / -(.) / g , function ( m , g ) { return g . toUpperCase ( ) } ) }
Convert dash-separated-string to camelCase
Convert dash - separated - string to camelCase