MCPcopy
hub / github.com/11ty/buildawesome / amendLibrary

Method amendLibrary

src/UserConfig.js:863–870  ·  view source on GitHub ↗
(engineName, callback)

Source from the content-addressed store, hash-verified

861
862 /* These callbacks run on both libraryOverrides and default library instances */
863 amendLibrary(engineName, callback) {
864 let name = engineName.toLowerCase();
865 if (!this.libraryAmendments[name]) {
866 this.libraryAmendments[name] = [];
867 }
868
869 this.libraryAmendments[name].push(callback);
870 }
871
872 setLiquidOptions(options) {
873 this.liquid.options = options;

Callers 2

configFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected