PageSourceSearch

https://bahai-news.info/javascripts/DV/lib/elements.js

js bahai-news.info collected 2026-10-02 14:21:38 UTC 371 bytes, 12 lines download raw bytes

1DV.Elements = function(viewer){
2  this._viewer = viewer;
3  var elements = DV.Schema.elements;
4  for (var i=0, elemCount=elements.length; i < elemCount; i++) {
5    this.getElement(elements[i]);
6  }
7};
8
9// Get and store an element reference
10DV.Elements.prototype.getElement = function(elementQuery,force){
11  this[elementQuery.name] = this._viewer.$(elementQuery.query);
12};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.