Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.4 kb

xjs

TODO

<?js

  function userName(uid) {
    var async = out.async();
    lookupName(uid, function (name) {
      out.write(<a href={"/profile?id="+uid}><?= name ?></a>);
      async.end();
    });
  }

?>
<ul>
  <?js
    uids.forEach(function (uid) {
      out.write(<li><?= userName(uid) ?></li>);
    });
  ?>
</ul>
Jump to Line
Something went wrong with that request. Please try again.