MCPcopy Create free account
hub / github.com/TruthHun/BookStack / camelCase

Function camelCase

static/nprogress/nprogress.js:369–373  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

367 cssProps = {};
368
369 function camelCase(string) {
370 return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
371 return letter.toUpperCase();
372 });
373 }
374
375 function getVendorProp(name) {
376 var style = document.body.style;

Callers 1

getStylePropFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected