User:trevorh

  • Revision slug: User:trevorh
  • Revision title: User:trevorh
  • Revision id: 102988
  • Created:
  • Creator: trevorh
  • Is current revision? No
  • Comment 36 words added

Revision Content

I have created an add-on to help generate interface documentation, it is available at:
https://addons.mozilla.org/en-US/firefox/addon/207622/

Draft pages that I am working on:

//page.subpages;
//map.Keys(page.subpages);
//map.Values(page.subpages);
//map.KeyValues(page.subpages);
<ul>;
var pSubPagesMap = page.subpages;
var pSubPagesList = map.Values(pSubPagesMap);
var pSubPagesListOrdered = list.orderby(pSubPagesList, "title ascending");
foreach (var p in pSubPagesListOrdered) {
  <li>
    web.link(p.uri, p.title)&nbsp;
    date.Format(date.ChangeTimezone(p.date, user.timezone), "F");
    if (map.contains(p.tags, "delete")) { " - complete (tagged for deletion)"; }
  </>;
}
</ul>;

Revision Source

<p>I have created an add-on to help generate interface documentation, it is available at:<br>
<a class=" link-https" href="https://addons.mozilla.org/en-US/firefox/addon/207622/" title="https://addons.mozilla.org/en-US/firefox/addon/207622/">https://addons.mozilla.org/en-US/firefox/addon/207622/</a></p>
<p>Draft pages that I am working on:</p>
<pre class="script">//page.subpages;
//map.Keys(page.subpages);
//map.Values(page.subpages);
//map.KeyValues(page.subpages);
&lt;ul&gt;;
var pSubPagesMap = page.subpages;
var pSubPagesList = map.Values(pSubPagesMap);
var pSubPagesListOrdered = list.orderby(pSubPagesList, "title ascending");
foreach (var p in pSubPagesListOrdered) {
  &lt;li&gt;
    web.link(p.uri, p.title)&amp;nbsp;
    date.Format(date.ChangeTimezone(p.date, user.timezone), "F");
    if (map.contains(p.tags, "delete")) { " - complete (tagged for deletion)"; }
  &lt;/&gt;;
}
&lt;/ul&gt;;
</pre>
Revert to this revision