Module: pldr

a Private Locale Data Repository stored as a string, with its DOM parser.
Version:
  • M2022-11-10
Author:
  • Louis A. de Fouquières https://github.com/Louis-Aime
License:
  • MIT 2016-2022
Source:

Members

(inner, constant) pldrstring

Stringified XML base, consisting in 2 blocks: ldmlBCP47 declares non language specific calendar elements, ldml declares language specific names; in this stringified version, ldml block is empty. If this file is used for a Web site and not as a module, consider changing "const" to "var" in order to avoid redeclaration errors.
Source:

Methods

(static) getPldrDOM()

build a document object from the pldrstring object of this file.
Source:
Returns:
the link to the document object that holds the private locale data repository's data.