lib/escort.js
function (prototype, properties) {
        var object = Object.create(prototype);
        Object.keys(properties).forEach(function (key) {
            object[key] = properties[key];
        });
        return object;
    }
function (prototype, properties) {
        var object = Object.create(prototype);
        Object.keys(properties).forEach(function (key) {
            object[key] = properties[key];
        });
        return object;
    }
function ( prototype , properties ) { var object = Object . create ( prototype ) ; Object . keys ( properties ) . forEach ( function ( key ) { object [ key ] = properties [ key ] ; } ) ; return object ; }
a simple wrapper around Object.create to easily make new objects without providing property descriptors.

@param {Object} prototype The prototype to inherit from
@param {Object} properties A map of properties
@api private
a simple wrapper around Object . create to easily make new objects without providing property descriptors .