scheme.js
function filter(obj) {
    var result = {}, fieldDefine, value;
    for(var field in options) {
      fieldDefine = options[field];
      value = obj[field];
      if(!fieldDefine.private && value !== undefined) {
        result[field] = value;
      }
    }
    return result;
  }
function filter(obj) {
    var result = {}, fieldDefine, value;
    for(var field in options) {
      fieldDefine = options[field];
      value = obj[field];
      if(!fieldDefine.private && value !== undefined) {
        result[field] = value;
      }
    }
    return result;
  }
function filter ( obj ) { var result = { } , fieldDefine , value ; for ( var field in options ) { fieldDefine = options [ field ] ; value = obj [ field ] ; if ( ! fieldDefine . private && value !== undefined ) { result [ field ] = value ; } } return result ; }
filter private fields
filter private fields