Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bitwiseshiftleft/sjcl
/ hasClass
Function
hasClass
demo/form.js:2–4 ·
view source on GitHub ↗
(e, cl)
Source
from the content-addressed store, hash-verified
1
/* Hackish form handling system. */
2
function
hasClass(e, cl) {
3
return
(
" "
+e.className+
" "
).match(
" "
+cl+
" "
);
4
}
5
6
function
stopPropagation(e) {
7
e.preventDefault && e.preventDefault();
Callers
2
form.js
File · 0.85
formHandler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected