-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix +at(slice-name) #29
Conversation
Fix the related bug when using +at() mixin with the slice's name instead of its measure
This looks good to me @Djules! Thanks for also going the extra mile and adding tests. As long as @declandewet signs off on this I would say we're good to merge. Thanks for the excellent contribution! |
I actually found an error when using |
Fix previously inserted bug wen using mixin +at('xl')
Cool, is this ready now @Djules? |
Exactly @Jenius ! The private function |
This looks good - I like the idea of changing the name of that function if you think it might read better. I dont have the time to do it myself so if you can include that change here then this will be ready to merge, otherwise it's not such a big deal and can be merged in anyway. Up to you @Djules |
Awesome, let me know if/when that function name is changed and we can get this merged up 👍 |
The function -get-index() has been renamed to -get-scale-number(), as it actually returns the scale number from its name, and not a zero-based index.
So I renamed the function to Let me know what you think. :) |
Yup, that seems like the right approach to me. Don't implement until you need it. |
Fix the related bug when using +at() mixin with the slice's name instead
of its measure