mozilla

Revision 80081 of Template:Embed text

  • Revision slug: Template:Embed_text
  • Revision title: Template:Embed text
  • Revision id: 80081
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 27 words removed
Tags: 

Revision Content


  var found = false;
  var allFiles = map.values(page.files);
  foreach(var aFile in allFiles) {

  }
  if (found == false) {
    web.html("

Unable to find file '" + args[0] + "'.

");
  }

Revision Source

<p><span class="script"><br />
  var found = false;<br />
  var allFiles = map.values(page.files);<br />
  foreach(var aFile in allFiles) {<br />
<br />
  }<br />
  if (found == false) {<br />
    web.html("<p>Unable to find file '" + args[0] + "'.</p>");<br />
  }<br />
</span></p>