Blockstrap Defaults
There are certain components that will be included regardless of whether they are added to the configuration file or not.
This is currently controlled by $.fn.blockstrap.defaults()
and auto-includes the following dependencies:
- dependencies/crypt.js
- dependencies/sha3.js
- dependencies/mustache.js
As well as the following modules:
- modules/templates.js
- modules/theme.js
The only way to prevent this is to set install
to false
in configuration, at which point, a failure to manually include the required modules listed above will almost certainly result in all kinds of nasty errors.
In addition to the $.fn.blockstrap.defaults()
function called prior to the dependencies and modules being included there is another function within core ($.fn.blockstrap.core.defaults
) that creates skeleton functionality for the following functions if their corresponding modules are not included within the initial configuration:
- Data Module:
$.fn.blockstrap.data.find()
- Data Module:
$.fn.blockstrap.data.save()
- Security Module:
$.fn.blockstrap.security.loggedin()
These are common modules used throughout other modules, and the skeleton functions auto-included do nothing more than prevent errors.