Created
November 24, 2016 12:36
-
-
Save metacollin/90389e6d2b51032817b202fab2d294f5 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
remove_norenumber = (l, i) -> | |
not_named_i = (x) -> | |
if x.name? | |
x.name != i | |
else if x.xname? | |
x.xname != i | |
else | |
true | |
filter l, not_named_i | |
center_x = size_x/2.0 | |
center_y = size_y/2.0 | |
rm = (l, i) -> | |
if pad_skip == true | |
l = remove_norenumber l, i | |
else | |
l = remove l, i | |
l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment