@ff0000-ad-tech/hooks-regex
v1.0.2
Published
RED Hooks Regex ===============
Downloads
27
Readme
RED Interactive Agency - Ad Technology
RED Hooks Regex
"Red Hooks" are a comment-syntax that is used by AdApp in conjunction with stub.json files to do the following
- Inject code into specific locations throughout the build files. Existing components that need to do this include:
- Build Source: "Red.Component"
- Build Edge: "Red.Edge"
- Deploy - "Red.Network"
- Stub files maintain a map of what components are required, or have been injected into a particular build.
Respective of whether they are JS or HTML, the hooks look like:
/*-- [scope].[component].[param].[start/end] --*/
<!-- [scope].[component].[param].[start/end] -->