mozilla

Revision 313145 of Template:cssinitial

  • Revision slug: Template:cssinitial
  • Revision title: Template:cssinitial
  • Revision id: 313145
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

<% // Load the whole page (wiki.page does cache the original page var $page = wiki.page("en-US/docs/CSS/CSS_values_syntax"); var $re = new RegExp("(<\s*code\s+id\s*=\s*"+'"initial-'+$0+'"'+"[^>]*>)", "igm"); //.*<\s*/\s*code\s*\>)","igm"); var $result = $re.exec($page).index; %> <%- $result %>

Revision Source

<% 
    // Load the whole page (wiki.page does cache the original page
    var $page = wiki.page("en-US/docs/CSS/CSS_values_syntax"); 
    
    var $re = new RegExp("(<\s*code\s+id\s*=\s*"+'"initial-'+$0+'"'+"[^>]*>)", "igm");  //.*<\s*/\s*code\s*\>)","igm");
    var $result = $re.exec($page).index;

%>
<%- $result %>