mozilla

Revision 126421 of Template:JP Method

  • Revision slug: Template:JP_Method
  • Revision title: Template:JP Method
  • Revision id: 126421
  • Created:
  • Creator: kurt_cagle
  • Is current revision? No
  • Comment 1 words added, 1 words removed

Revision Content

Revision Source

<h3 class="method" id="{{if ($id!=null){$id} else {$name}}}"><a name="{{if ($id!=null) {$id} else {$name}}}" /><span class="method-name"><span class="script">$name</span></span>(<span class="script">buf = [];foreach(var param in $params){buf += ['<b class="param-name">'+param.name+'</b> as <i class="param-type">'+param.type+'</i>']};paramList = web.html(""+string.join(buf,", ")+"");paramList </span>) as <span class="method-type"><span class="script">$type</span></span></h3>
<div class="label"><strong>Description</strong></div>
<div class="description"><span class="script">web.html(""+$description+"")</span></div>
<p><span class="script">buf = [];buf += '<ul class="params-descr">';foreach(var param in $params){buf += [' <li class="param-descr"><b class="param-descr-label">'+param.name+'</b>. <i class="param-descr-body">'+param.description+'</i></li>']};buf += '</ul>';paramDescrs = web.html(""+string.join(buf,"")+""); paramDescrs </span></p>