Add function to get all layers that references a project item

Issue #26 resolved
Rune Gangsø created an issue

Currently you have to this:

forEach( item.usedIn, function ( comp ) {
    forEach( comp, function ( layer ) {
        if ( layer.source === item )
            // Do something
    })
})

It would be nice have something like this:

var layers = aeq.getItemLayers( item )

Comments (3)

  1. Log in to comment