During the major cascade we restored the oGridSurfaceCurrentLayout
mixin so the current layout could be exposed to JavaScript without
including any other o-grid css. We did this because, even with
no options set, the oGrid mixin outputs a lot of default CSS.
For the same reason this commit restores the
oGridSurfaceLayoutSizes mixin.
It also updates the README and warns in the console if a JS method
is used without including the required CSS.
Warnings refer to the README as users may be using SASS or the
Build Service, and it would be good to avoid shipping verbose
error messages to our users.
During the major cascade we restored the
oGridSurfaceCurrentLayout
mixin so the current layout could be exposed to JavaScript without including any other o-grid css. We did this because, even with no options set, theoGrid
mixin outputs a lot of default CSS.For the same reason this commit restores the
oGridSurfaceLayoutSizes
mixin.It also updates the README and warns in the console if a JS method is used without including the required CSS.
Warnings refer to the README as users may be using SASS or the Build Service, and it would be good to avoid shipping verbose error messages to our users.