lib/bart.js
function merge_objects(obj1,obj2){
        var obj3 = {};
        for (var attrname1 in obj1) { obj3[attrname1] = obj1[attrname1]; }
        for (var attrname2 in obj2) { obj3[attrname2] = obj2[attrname2]; }
        return obj3;
    }
function merge_objects(obj1,obj2){
        var obj3 = {};
        for (var attrname1 in obj1) { obj3[attrname1] = obj1[attrname1]; }
        for (var attrname2 in obj2) { obj3[attrname2] = obj2[attrname2]; }
        return obj3;
    }
function merge_objects ( obj1 , obj2 ) { var obj3 = { } ; for ( var attrname1 in obj1 ) { obj3 [ attrname1 ] = obj1 [ attrname1 ] ; } for ( var attrname2 in obj2 ) { obj3 [ attrname2 ] = obj2 [ attrname2 ] ; } return obj3 ; }
Convenience function to smash two objects together.
@param obj1
@param obj2
@returns obj3, a merged object
Convenience function to smash two objects together .