MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / feeds

Function feeds

api/prettydiff-webtool.ts:344–377  ·  view source on GitHub ↗
(el:HTMLInputElement)

Source from the content-addressed store, hash-verified

342 }
343 },
344 feeds = function dom_load_feeds(el:HTMLInputElement):void {
345 const feedradio = function dom_load_feedradio(event:Event):boolean {
346 let parent:HTMLElement,
347 aa:number,
348 radios:HTMLCollectionOf<HTMLInputElement>;
349 const elly:HTMLElement = <HTMLElement>event.srcElement || <HTMLElement>event.target,
350 item:HTMLElement = <HTMLElement>elly.parentNode,
351 radio:HTMLInputElement = item.getElementsByTagName("input")[0];
352 parent = <HTMLElement>item.parentNode;
353 radios = parent.getElementsByTagName("input");
354 aa = radios.length - 1;
355 do {
356 parent = <HTMLElement>radios[aa].parentNode;
357 parent.removeAttribute("class");
358 radios[aa].checked = false;
359 aa = aa - 1;
360 } while (aa > -1);
361 radio.checked = true;
362 radio.focus();
363 item.setAttribute("class", "active-focus");
364 method.app.options(event);
365 event.preventDefault();
366 return false;
367 };
368 el.onfocus = feedradio;
369 el.onblur = function dom_load_feedblur():void {
370 const item = <HTMLElement>el.parentNode;
371 item.setAttribute("class", "active");
372 },
373 el.onclick = feedradio;
374 parent = <HTMLElement>x.parentNode;
375 parent = parent.getElementsByTagName("label")[0];
376 parent.onclick = feedradio;
377 },
378 feedsubmit = function dom_load_feedsubmit():void {
379 let a:number = 0;
380 const datapack:any = {},

Callers 1

loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected