lib/replicator.js
function find(name, namespace) {
	// If there are no replicants for that namespace, return undefined
	if (!{}.hasOwnProperty.call(declaredReplicants, namespace)) {
		return undefined;
	}

	// If that replicant doesn't exist for that namespace, return undefined
	if (!{}.hasOwnProperty.call(declaredReplicants[namespace], name)) {
		return undefined;
	}

	// Return the replicant.
	return declaredReplicants[namespace][name];
}
function find(name, namespace) {
	// If there are no replicants for that namespace, return undefined
	if (!{}.hasOwnProperty.call(declaredReplicants, namespace)) {
		return undefined;
	}

	// If that replicant doesn't exist for that namespace, return undefined
	if (!{}.hasOwnProperty.call(declaredReplicants[namespace], name)) {
		return undefined;
	}

	// Return the replicant.
	return declaredReplicants[namespace][name];
}
function find ( name , namespace ) { // If there are no replicants for that namespace, return undefined if ( ! { } . hasOwnProperty . call ( declaredReplicants , namespace ) ) { return undefined ; } // If that replicant doesn't exist for that namespace, return undefined if ( ! { } . hasOwnProperty . call ( declaredReplicants [ namespace ] , name ) ) { return undefined ; } // Return the replicant. return declaredReplicants [ namespace ] [ name ] ; }
Finds a Replicant, returns undefined if not found.
@param name {string} - The name of the Replicant to find.
@param namespace {string} - The namespace in which to search.
@returns {*}
Finds a Replicant returns undefined if not found .