Last active
December 26, 2015 10:09
-
-
Save mdix/7135117 to your computer and use it in GitHub Desktop.
This file contains 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
// states if the layer is opened (true) | |
var isOpened; | |
isOpened = status; | |
/* removes layer if already opened and runs a function to | |
output the state of the other layers */ | |
if (isOpened) { | |
doSomething(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment