| CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/nbubna/HTML/master/dist/HTML.core.js
accept-ranges: bytes
age: 0
date: Tue, 30 Dec 2025 05:46:00 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210076-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1767073558.928366,VS0,VE2168
vary: Accept-Encoding
x-fastly-request-id: 404bb50b9d268c5eab1ce13c9ad611708c1b2b3c
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"89471c26192e1162b4972dd81ef7662412a538f1e51b5100dba604b70d12fdcf"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 5652:318E2E:E3227E:1D77E99:69536718
content-encoding: gzip
accept-ranges: bytes
date: Tue, 30 Dec 2025 05:46:00 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210051-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1767073560.151911,VS0,VE247
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 0dc188593888bfc5c72669aadeceb9510fe166fb
expires: Tue, 30 Dec 2025 05:51:00 GMT
source-age: 0
content-length: 2465
/*! HTML - v0.12.1 - 2014-10-22
* https://nbubna.github.io/HTML/
* Copyright (c) 2014 ESHA Research; Licensed MIT, GPL */
(function(window, document, Observer) {
"use strict";
var _ = {
version: "0.12.1",
slice: Array.prototype.slice,
list: function(list, force) {
if (list.length === 1){ return _.node(list[0], force); }
if (force || !list.each) {
if (!list.slice){ list = _.slice.call(list); }
_.methods(list);
if (list.length){ _.children(list[0], list); }// proxy dot-traversal into first element
}
return list;
},
node: function(node, force) {
if (force || !node.each) {
_.methods(node);
_.children(node);
}
return node;
},
methods: function(o) {
for (var method in _.fn) {
_.define(o, method, _.fn[method]);
}
},
children: function(node, list) {
var children = node._children = {};
for (var i=0, m=node.childNodes.length; i= 0 || b < 0 ?
self.slice(b, e || (b + 1) || undefined) :
self.filter(
typeof b === "function" ? b :
function(el){ return el.matches(b); }
)
);
},
all: function(prop, inclusive, _results) {
_results = _results || [];
var self = this.forEach ? this : [this];
if (inclusive){ _results.push.apply(_results, self); }
for (var i=0, m=self.length; i 0) {
var keys = key.split('.');
while (keys.length > 1 && (el = el[key = keys.shift()])){}
// if lookup failed, reset to originals
el = el || _el;
key = el ? keys[0] : _key;
}
var val = el[key];
if (val !== undefined) {
if (typeof val === "function") { return val.apply(el, args); }
else if (args) { el[key] = args[0]; }
else { return val; }
}
else if (args) {
if (args[0] === null){ _el.removeAttribute(_key); }
else { _el.setAttribute(_key, args[0]); }
} else { return _el.getAttribute(_key); }
},
fill: function(args, index, el) {
var ret = [];
for (var i=0,m=args.length; i