Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.registry = registry
}
}
context.managers = this.managers
if (id !== undefined) {
context.id = id
}
if (generateId !== undefined) {
context.generateId = generateId
}
if (!context.generateId || !prevContext || context.id !== prevContext.id) {
context.generateId = createGenerateId(context.id)
}
if (classNamePrefix) {
context.classNamePrefix += classNamePrefix
}
if (media !== undefined) {
context.media = media
}
if (jss) {
context.jss = jss
}
if (disableStylesGeneration !== undefined) {
context.disableStylesGeneration = disableStylesGeneration