mozilla
Your Search Results

    Template:source2

    <%
    // Insert a link to a file in the mozilla-central source repository,
    // with the link text being just the specified text instead of the
    // full URL.
    //
    //  $0 - File to link to
    //  $1 - (OPTIONAL) text for the link
    
    var url = "http://mxr.mozilla.org/mozilla-central/source/" + $0;
    var text = $0;
    %>
    <a rel="custom" href="<%=url%>"><%=text%></a>
    Search for pages that use Template:source2 to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,