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

Function state_attr_start

MathBox/mathbox-core.js:813–831  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

811 }
812
813 function state_attr_start() {
814 state_gather(true)
815
816 if(state !== READY) {
817 return
818 }
819
820 if(c === ']') {
821 state = ATTR
822 stream.queue(token())
823 state = READY
824
825 return
826 }
827
828 lhs = gathered.join('')
829 gathered.length = 0
830 state = ATTR_COMP
831 }
832
833 function state_attr_compare() {
834 if(/[=~|$^*]/.test(c)) {

Callers 1

ondataFunction · 0.70

Calls 2

state_gatherFunction · 0.70
tokenFunction · 0.70

Tested by

no test coverage detected