Commit 2a256346 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Rendering of optionality flag in parameters list.

Because the string "(optional)" is no more part of the description,
we need to add it when rendering the long parameters list.
parent afaf889e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -298,6 +298,7 @@ Ext.define('Docs.Renderer', {
        this.paramTpl = this.paramTpl || new Ext.XTemplate(
            '<li>',
                '<span class="pre">{name}</span> : {type}',
                '<tpl if="optional"> (optional)</tpl>',
                '<div class="sub-desc">',
                    '{doc}',
                    '<tpl if="properties && properties.length">',