dist/system/common/util.js
function cleanOptions(options) {
        Object.keys(options).filter(function (key) { return options[key] === undefined; }).forEach(function (key) { return delete options[key]; });
    }
function cleanOptions(options) {
        Object.keys(options).filter(function (key) { return options[key] === undefined; }).forEach(function (key) { return delete options[key]; });
    }
function cleanOptions ( options ) { Object . keys ( options ) . filter ( function ( key ) { return options [ key ] === undefined ; } ) . forEach ( function ( key ) { return delete options [ key ] ; } ) ; }
Remove undefined fields from an object

@param options An object to clean
Remove undefined fields from an object