MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / $

Function $

demo/tutorial/main.js:1–4  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

1function $(element){
2 // 获取 DOM 对象的短写,如果你在用 jQuery 也可以采用类似的方法
3 return document.getElementById(element);
4};
5
6window.addEventListener('load', function(){
7 // 在窗体载入完毕后再绑定

Callers 9

main.jsFile · 0.70
debugger.jsFile · 0.50
bindFunction · 0.50
stopFunction · 0.50
resumeFunction · 0.50
bindWindowFunction · 0.50
bindTestsFunction · 0.50
bindResizeFunction · 0.50
bindDebuggerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected