lib/amd/slim.js
function getFactory(arg) {
	return n.ObjectExpression.check(arg)
		? slimBuilder.makeFactoryFromObject(arg)
		: arg;
}
function getFactory(arg) {
	return n.ObjectExpression.check(arg)
		? slimBuilder.makeFactoryFromObject(arg)
		: arg;
}
function getFactory ( arg ) { return n . ObjectExpression . check ( arg ) ? slimBuilder . makeFactoryFromObject ( arg ) : arg ; }
Normalizes the factory function if the object shorthand was used
@param {Object} arg - The AST node of the argument where the
"factory" function should be found.
@return {Object} The AST node of the factory function.
Normalizes the factory function if the object shorthand was used