lib/paperspace.js
function eachEndpoint(iterator) {
	for (var namespace in endpoints) {
		var methods = endpoints[namespace];

		for (var name in methods) {
			var method = methods[name];

			iterator(namespace, name, method);
		}
	}

	return endpoints;
}
function eachEndpoint(iterator) {
	for (var namespace in endpoints) {
		var methods = endpoints[namespace];

		for (var name in methods) {
			var method = methods[name];

			iterator(namespace, name, method);
		}
	}

	return endpoints;
}
function eachEndpoint ( iterator ) { for ( var namespace in endpoints ) { var methods = endpoints [ namespace ] ; for ( var name in methods ) { var method = methods [ name ] ; iterator ( namespace , name , method ) ; } } return endpoints ; }
Iterate through all the endpoints available and return the namespace, method name, and method to the iterator function
Iterate through all the endpoints available and return the namespace method name and method to the iterator function