Created
February 5, 2016 10:53
-
-
Save koenbok/b5233904027630803ffd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| layerA = new Layer | |
| layerB = new Layer | |
| # The old way | |
| layerB.superLayer = layerA | |
| print layerA.subLayers | |
| # The new way | |
| layerB.parent = layerA | |
| print layerA.children |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment