lib/json-dry.js
function registerUndrier(constructor, fnc, options) {

	var path;

	if (typeof constructor == 'function') {
		path = constructor.name;
	} else {
		path = constructor;
	}

	undriers[path] = {
		fnc     : fnc,
		options : options || {}
	};
}
function registerUndrier(constructor, fnc, options) {

	var path;

	if (typeof constructor == 'function') {
		path = constructor.name;
	} else {
		path = constructor;
	}

	undriers[path] = {
		fnc     : fnc,
		options : options || {}
	};
}
function registerUndrier ( constructor , fnc , options ) { var path ; if ( typeof constructor == 'function' ) { path = constructor . name ; } else { path = constructor ; } undriers [ path ] = { fnc : fnc , options : options || { } } ; }
Register an undrier

@author   Jelle De Loecker   <jelle@develry.be>
@since    1.0.0
@version  1.0.0

@param    {Function|String}   constructor   What constructor to listen to
@param    {Function} fnc
@param    {Object}   options
Register an undrier