dist/upptalk.js
function ParseArray(array, encoding, obj) {
    for (var n = 0; n < encoding.length; ++n) {
      var value = array[n];
      if (!value)
        continue;
      var field = encoding[n];
      var fieldAlpha = field.replace(NON_ALPHA_CHARS, "");
      if (field != fieldAlpha)
        value = new RegExp(field.replace(fieldAlpha, value));
      obj[fieldAlpha] = value;
    }
    return obj;
  }
function ParseArray(array, encoding, obj) {
    for (var n = 0; n < encoding.length; ++n) {
      var value = array[n];
      if (!value)
        continue;
      var field = encoding[n];
      var fieldAlpha = field.replace(NON_ALPHA_CHARS, "");
      if (field != fieldAlpha)
        value = new RegExp(field.replace(fieldAlpha, value));
      obj[fieldAlpha] = value;
    }
    return obj;
  }
function ParseArray ( array , encoding , obj ) { for ( var n = 0 ; n < encoding . length ; ++ n ) { var value = array [ n ] ; if ( ! value ) continue ; var field = encoding [ n ] ; var fieldAlpha = field . replace ( NON_ALPHA_CHARS , "" ) ; if ( field != fieldAlpha ) value = new RegExp ( field . replace ( fieldAlpha , value ) ) ; obj [ fieldAlpha ] = value ; } return obj ; }
Parse an array of strings into a convenient object. We store meta data as arrays since thats much more compact than JSON.
Parse an array of strings into a convenient object . We store meta data as arrays since thats much more compact than JSON .