summaryrefslogblamecommitdiffstats
path: root/common/html-coverpage/coverpage.js
blob: 4655c2978ef195fe3dc2f12903aec1695778eb1d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                               
/*!
 * Copyright 2017 Chris Johns <chrisj@rtems.org>
 */

/*
 * Embed the XML catalogue in this JS code to get around the Chrome on Windows
 * security "feature" where loading of a local disk file under the same path as
 * the HTML Chrome just loaded from disk is not allowed.
 */
function coverPageCatalogue() {
    xml = '@CATALOGUE';
    paintCatalogue($.parseXML(xml));
}