Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registries.filter( property => {
return newreg.keys.indexOf( property ) === -1
}).forEach( property => {
if ( Parent[ property ] ) {
Child[ property ] = create( Parent[ property ] );
}
});
// Special case - CSS
if ( Parent.css ) {
defineProperty( Child, 'css', {
value: Parent.defaults.noCssTransform
? Parent.css
: transformCss( Parent.css, Child._guid )
});
}
}