- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Fri, 31 Jan 2014 17:44:27 -0800
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2-tools/rev/ee0a80076e9b branches: changeset: 83:ee0a80076e9b user: Cameron McCormack <cam@mcc.id.au> date: Sat Feb 01 12:44:24 2014 +1100 description: Make elements findable by Shepherd. diffstat: publish/processing.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (22 lines): diff --git a/publish/processing.js b/publish/processing.js --- a/publish/processing.js +++ b/publish/processing.js @@ -493,17 +493,17 @@ function formatElementInterfaces(conf, e { interface: conf.definitions.formatInterfaceLink(name, n) })); }); return ul; } function doElementSummary(conf, page, n) { var name = n.getAttribute('name'); var element = conf.definitions.elements[name]; - var e = utils.parse('<div class="element-summary"><div class="element-summary-name"><span class="element-name">‘{{name}}’</span></div><dl>' + + var e = utils.parse('<div class="element-summary"><div class="element-summary-name"><span class="element-name">‘<dfn data-dfn-type="element" data-export id="elementdef-{{name}}">{{name}}</dfn>’</span></div><dl>' + '<dt>Categories:</dt><dd>{{categories}}</dd>' + '<dt>Content model:</dt><dd>{{contentmodel}}</dd>' + '<dt>Attributes:</dt><dd>{{attributes}}</dd>' + '<dt>DOM Interfaces:</dt><dd>{{interfaces}}</dd></dl></div>', { name: name, categories: formatElementCategories(conf, element, n), contentmodel: formatContentModel(conf, element, n), attributes: formatElementAttributes(conf, element, n) || '',
Received on Saturday, 1 February 2014 01:44:57 UTC