mozilla
Your Search Results

    Template:B2GOnlyHeader

    <%
    
    /* one parameter: Gecko version as of which should only be used in B2G (optional) */
    /* get the page language */
    
    var s = [];
    
    if ($0) {
        s = mdn.localString({
            "en-US": [
                "Firefox OS only in Gecko " + $0,
                "Available only on Firefox OS as of Gecko " + $0 + " " + template("geckoRelease", [$0])
            ]
        });
    } else {
        s = mdn.localString({
            "en-US": [
                "Only available on Firefox OS",
                "This is a Firefox OS (Boot to Gecko) specific API."
            ],
            "ja" : [
                "Firefox OS 上でのみ有効。",
                "これは Firefox OS (Boot to Gecko) の独自 API です。"
            ]
        });
    }
    
    
    %><div class="projectSpecific overheadIndicator">
        <p><%- s[0] %></p>
        <p><%= s[1] %></p>
    </div>
    Search for pages that use Template:B2GOnlyHeader to see example use cases and how many pages use this macro.

    Document Tags and Contributors

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