template::head::flush_script (public)

 template::head::flush_script -src src

Defined in packages/acs-templating/tcl/head-procs.tcl

Flush a script tag, which was previously set in the head section via template::add_script. One can delete multiple entries by providing a glob pattern.

Switches:
-src (required)
src attribute of the script tag, i.e. the source url of the script. A glob pattern similar link in "string match" can be provided.
Author:
Gustaf Neumann
Created:
2018-03-09
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_head_includes head_includes (test acs-templating) template::head::flush_script template::head::flush_script test_head_includes->template::head::flush_script template::head::flush_included template::head::flush_included (private) template::head::flush_script->template::head::flush_included

Testcases:
head_includes
Source code:
    array unset ::template::head::scripts $src
    flush_included $src
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: