I've made a few changes to the BB.Color module. These changes include:
copy(...), setRGBA(...), setHSVA(...), tint(...), and shade(...) are now chainable.
Removed public and undocumented functions and replaced them with inline counterparts (they were each only used once): isLikeColor(...), min3(...), and max3(...)
@nbriz I'm submitting this as a PR because I am making changes to a module that you are the primary author of and I propose this practice as a good way of keeping each other in the loop on changes to classes that we co-author or co-edit. Feel free to merge this PR at any time if you approve of my changes :smile_cat:.
I've made a few changes to the BB.Color module. These changes include:
copy(...)
,setRGBA(...)
,setHSVA(...)
,tint(...)
, andshade(...)
are now chainable.isLikeColor(...)
,min3(...)
, andmax3(...)
@nbriz I'm submitting this as a PR because I am making changes to a module that you are the primary author of and I propose this practice as a good way of keeping each other in the loop on changes to classes that we co-author or co-edit. Feel free to merge this PR at any time if you approve of my changes :smile_cat:.