function getSanitizedSelector (selector) {
            return selector
                .replace(/-([a-z])/g, function (g) { return g[1].toUpperCase(); })
                .replace(/\[|]/g, "");
        }
function getSanitizedSelector (selector) {
            return selector
                .replace(/-([a-z])/g, function (g) { return g[1].toUpperCase(); })
                .replace(/\[|]/g, "");
        }
function getSanitizedSelector ( selector ) { return selector . replace ( / -([a-z]) / g , function ( g ) { return g [ 1 ] . toUpperCase ( ) ; } ) . replace ( / \[|] / g , "" ) ; }
returns a cleaned selector after stripping invalid characters for defining modules: [,], - to camelCase
returns a cleaned selector after stripping invalid characters for defining modules : [ ] - to camelCase