js.removeNS

From RPTools Wiki
Revision as of 18:49, 17 September 2021 by LPerkins (talk | contribs) (Created page with "{{Experimental}} {{MacroFunction |name=js.removeNS |version=1.10.0 |description= Removes a javascript namespace. If the targetd namespace is trusted, this must be run from a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 This article describes a feature or macro function that is experimental and may be subject to change.

js.removeNS() Function

Introduced in version 1.10.0
Removes a javascript namespace. If the targetd namespace is trusted, this must be run from a trusted context.

Usage

js.removeNS(namespace)

Parameters

  • namespace - The namespace to remove.

Example

Using js.eval on an expression.
[r: removeNS("demo")]

See Also