atk4 / book

4 stars 23 forks source link

what is UNIV ? #32

Closed ayurmedia closed 8 years ago

ayurmedia commented 9 years ago

use better variable-name which is self-documenting.

romaninsh commented 8 years ago

univ() is short for "Universal Chain" meaning it can contain a lot of different utilities. It can also be called "Misc" or "Junk". The "UI" is not a good replacement, especially because it clashes with jQuery UI.

ayurmedia commented 8 years ago

then the documentation should expain it, its the first time i hear about the definition of univ(), using a "mixed" type is not good, bad readability. better to be more specific. instead of ->ui() you could use ->gui() if it has effects with jquery-ui.

romaninsh commented 8 years ago

Thanks.

I have made note of that