mozilla
Your Search Results

    Template:notxpcomGeneric

    <%
    /*
     * first parameter: inline/method
     * second parameter: additional information required for the type specified by the first parameter
    */
    
    var s_str = mdn.localString({
        "en-US": ["Violates the XPCOM interface guidelines", "Only use this method if you REALLY know what you are doing!"],
        "ja"   : ["XPCOM インタフェースガイドライン違反",    "ガイドライン違反である事を理解している場合のみご使用ください。"]
    });
    
    
    switch($0) {
        case 'inline':
            %><span title="<%- s_str[1] %>" class="inlineIndicator notXPCOM notXPCOMInline"><%- s_str[0] %></span><%
            break;
        case 'method':
            %><div>
    <%      %>  <span title="<%- s_str[1] %>" class="indicatorInHeadline notXPCOM notXPCOMMethod"><%- s_str[0] %></span>
    <%      %>  <h3><%= $1 %>()</h3>
    <%      %></div><%
        break;
    }%>
    Search for pages that use Template:notxpcomGeneric to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: openjck, ethertank, trevorh, teoli
    Last updated by: teoli,