redirect_if_overridden

NAML documentation   Watch a video
   Usages of this macro
... in macro_viewer.naml
925
926
927
928
929
930
931
932
933
<macro name="redirect_if_overridden" requires="macro_source">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_macro_which_overrides
Binary
Namespace: MacroSourceNamespace
>
        <then>
            <script type="text/javascript">
                location = '<n.use_text_encoder
Binary
Namespace: BasicNamespace
Parameters: text
.path_to_macro_which_overrides
Macro
/>';
            </script>
        </then>
    </n.if.has_macro_which_overrides>
</macro>