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

Function id

api/prettydiff-webtool.ts:16–21  ·  view source on GitHub ↗
(x:string)

Source from the content-addressed store, hash-verified

14(function dom_init():void {
15 "use strict";
16 const id = function dom_id(x:string):any {
17 if (document.getElementById === undefined) {
18 return;
19 }
20 return document.getElementById(x);
21 },
22 page = (function dom__dataPage():HTMLDivElement {
23 const divs:HTMLCollectionOf<HTMLDivElement> = document.getElementsByTagName("div");
24 if (divs.length === 0) {

Callers 15

areaTabOutFunction · 0.85
clearCommentFunction · 0.85
feedsubmitFunction · 0.85
senditFunction · 0.85
fixHeightFunction · 0.85
indentcharFunction · 0.85
insizeFunction · 0.85
numericFunction · 0.85
prepBoxFunction · 0.85
textareablurFunction · 0.85
textareafocusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected