ker/mod/tfw.view.js
function defVal(target, args, defaultValues) {
    var key, val;
    for (key in defaultValues) {
        val = defaultValues[key];
        if (typeof args[key] === 'undefined') {
            target[key] = val;
        } else {
            target[key] = args[key];
        }
    }
}
function defVal(target, args, defaultValues) {
    var key, val;
    for (key in defaultValues) {
        val = defaultValues[key];
        if (typeof args[key] === 'undefined') {
            target[key] = val;
        } else {
            target[key] = args[key];
        }
    }
}
function defVal ( target , args , defaultValues ) { var key , val ; for ( key in defaultValues ) { val = defaultValues [ key ] ; if ( typeof args [ key ] === 'undefined' ) { target [ key ] = val ; } else { target [ key ] = args [ key ] ; } } }
Assign default values.
Assign default values .