Meta now uses deep cloning
parent
881edc0cc6
commit
fa8cddea07
|
@ -619,10 +619,7 @@ function createMeta( func, parent_id )
|
|||
// copy the parent prototype's metadata if it exists (inherit metadata)
|
||||
if ( parent_meta )
|
||||
{
|
||||
// todo: deep (1) util.clone() when available
|
||||
class_meta[ id ] = {
|
||||
implemented: util.clone( parent_meta.implemented ),
|
||||
};
|
||||
class_meta[ id ] = util.clone( parent_meta, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue