src/util/utilJSON.js
// or a , to indicate that this is a key that should be quoted.
or a , to indicate that this is a key that should be quoted.
or a to indicate that this is a key that should be quoted .
function prevIsBraceOrComma() {
      if (latchedPrevIsBraceOrComma) { 
        latchedPrevIsBraceOrComma = false;
        return true;
      }
      var ii = i - 1;
      while (ii >= 0) {
        var cc = jsString.charAt(ii);
        if (cc === '{'|| cc === ',') {
          return true;
        }
        else if (cc === ' ' || cc === '\n' || cc === '\r') { 
          ii--;
        }
        else {
          return false;
        }
      }
      return false;
    }
function prevIsBraceOrComma ( ) { if ( latchedPrevIsBraceOrComma ) { latchedPrevIsBraceOrComma = false ; return true ; } var ii = i - 1 ; while ( ii >= 0 ) { var cc = jsString . charAt ( ii ) ; if ( cc === '{' || cc === ',' ) { return true ; } else if ( cc === ' ' || cc === '\n' || cc === '\r' ) { ii -- ; } else { return false ; } } return false ; }
or a , to indicate that this is a key that should be quoted.
or a to indicate that this is a key that should be quoted .
// Added by jfogarty - mMeddle. 30may15 // whitespace /* istanbul ignore next */