addon/utils/shadow/scales/ordinal.js
function(val) {
    let guid = guidFor(val);
    if(guid in map) {
      return map[guid];
    } else if(sort) {
      let sibiling = calculateMissingPosition(val, domain, sort);
      return map[guidFor(sibiling)];
    } else {
      return r0;
    }
  }
function(val) {
    let guid = guidFor(val);
    if(guid in map) {
      return map[guid];
    } else if(sort) {
      let sibiling = calculateMissingPosition(val, domain, sort);
      return map[guidFor(sibiling)];
    } else {
      return r0;
    }
  }
function ( val ) { let guid = guidFor ( val ) ; if ( guid in map ) { return map [ guid ] ; } else if ( sort ) { let sibiling = calculateMissingPosition ( val , domain , sort ) ; return map [ guidFor ( sibiling ) ] ; } else { return r0 ; } }
Create the closure that will return the matched value.
Create the closure that will return the matched value .