CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/nbubna/HTML/master/dist/HTML.base.js
accept-ranges: bytes
age: 0
date: Mon, 21 Jul 2025 15:54:56 GMT
via: 1.1 varnish
x-served-by: cache-bom4748-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753113296.777803,VS0,VE242
vary: Accept-Encoding
x-fastly-request-id: d0494a640b823d6114df7e709b8bb4f8208a7df1
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/"522417a6757321d322c32357da1d041151f11f68cdbf2e9e7d10bf8f3d26ca35"
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: 4CB5:F2D11:FFA0:242FE:687E62CF
content-encoding: gzip
accept-ranges: bytes
date: Mon, 21 Jul 2025 15:54:56 GMT
via: 1.1 varnish
x-served-by: cache-bom4739-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753113296.078025,VS0,VE366
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 7a910d882a04c0eeef75cb136c21c2b2e7a9e452
expires: Mon, 21 Jul 2025 15:59:56 GMT
source-age: 0
content-length: 3755
/*! 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