MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / state_ready

Function state_ready

MathBox/mathbox-bundle.js:47359–47372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47357 }
47358
47359 function state_ready() {
47360 switch(true) {
47361 case '#' === c: state = ID; break
47362 case '.' === c: state = CLASS; break
47363 case ':' === c: state = PSEUDOCLASS; break
47364 case '[' === c: state = ATTR_START; break
47365 case '!' === c: subject(); break
47366 case '*' === c: star(); break
47367 case ',' === c: comma(); break
47368 case /[>\+~]/.test(c): state = OPERATION; break
47369 case /\s/.test(c): state = ANY_CHILD; break
47370 case /[\w\d\-_]/.test(c): state = TAG; --idx; break
47371 }
47372 }
47373
47374 function subject() {
47375 state = SUBJECT

Callers 1

ondataFunction · 0.70

Calls 3

subjectFunction · 0.70
starFunction · 0.70
commaFunction · 0.70

Tested by

no test coverage detected