Template:CompatTableDesktop

  • Revision slug: Template:CompatTableDesktop
  • Revision title: Template:CompatTableDesktop
  • Revision id: 57262
  • Created:
  • Creator: Manuel_Strehl
  • Is current revision? No
  • Comment one or more formatting changes

Revision Content

<% {{ var markup; foreach(var x in args) { markup += "" + x[0] + "" + x[1]+ "" + x[2] + "" + x[3]+ "" + x[4]+ "" + x[5] + ""; } web.html('
' + markup + '
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
'); }}

Revision Source

<%
{{
 var markup;
 foreach(var x in args) {
   markup += "<tr><td>" + x[0] + "</td><td>" + x[1]+ "</td><td>" + x[2] + "</td><td>" + x[3]+ "</td><td>" + x[4]+ "</td><td>" + x[5] + "</td></tr>";
  } 
  web.html('<div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th scope="col">Feature</th> <th scope="col">Chrome</th> <th scope="col">Firefox (Gecko)</th> <th scope="col">Internet Explorer</th> <th scope="col">Opera</th> <th scope="col">Safari</th> </tr>' + markup + '</tbody></table></div>');
}}
</pre>
Revert to this revision