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

Function state_attr_compare

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

Source from the content-addressed store, hash-verified

831 }
832
833 function state_attr_compare() {
834 if(/[=~|$^*]/.test(c)) {
835 gathered.push(c)
836 }
837
838 if(gathered.length === 2 || c === '=') {
839 cmp = gathered.join('')
840 gathered.length = 0
841 state = ATTR_END
842 quote = null
843
844 return
845 }
846 }
847
848 function state_attr_end() {
849 if(!gathered.length && !quote) {

Callers 1

ondataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected