Contains helper functions for loading environment specific mixins.
These utilities are only available inside of barefoot.
Barefoot.Util | Contains helper functions for loading environment specific mixins. |
Functions | |
getEnvironment | Returns a string representing the current environment. |
loadMixinsForEnvironment | Loads mixins for a specific environment |
loadMixins | Since Barefoot is runnable on server and client, this function returns environment specific code read from the “server” and “client” folder and returns the needed code fragments. |
Returns a string representing the current environment.
function getEnvironment()
Loads mixins for a specific environment
function loadMixinsForEnvironment( environment )
Since Barefoot is runnable on server and client, this function returns environment specific code read from the “server” and “client” folder and returns the needed code fragments.
function loadMixins( environment )