docstrap/Gruntfile.js
function getBootSwatchComponent( url, done ) {
	var body = "";
	var req = http.request( url, function ( res ) {
		res.setEncoding( 'utf8' );
		res.on( 'data', function ( chunk ) {
			body += chunk;
		} );

		res.on( 'end', function () {
			done( null, body );
		} );
		res.on( 'error', function ( e ) {
			done( 'problem with response: ' + e.message );
		} );
	} );

	req.on( 'error', function ( e ) {
		done( 'problem with request: ' + e.message );
	} );
	req.end();
}
function getBootSwatchComponent( url, done ) {
	var body = "";
	var req = http.request( url, function ( res ) {
		res.setEncoding( 'utf8' );
		res.on( 'data', function ( chunk ) {
			body += chunk;
		} );

		res.on( 'end', function () {
			done( null, body );
		} );
		res.on( 'error', function ( e ) {
			done( 'problem with response: ' + e.message );
		} );
	} );

	req.on( 'error', function ( e ) {
		done( 'problem with request: ' + e.message );
	} );
	req.end();
}
function getBootSwatchComponent ( url , done ) { var body = "" ; var req = http . request ( url , function ( res ) { res . setEncoding ( 'utf8' ) ; res . on ( 'data' , function ( chunk ) { body += chunk ; } ) ; res . on ( 'end' , function ( ) { done ( null , body ) ; } ) ; res . on ( 'error' , function ( e ) { done ( 'problem with response: ' + e . message ) ; } ) ; } ) ; req . on ( 'error' , function ( e ) { done ( 'problem with request: ' + e . message ) ; } ) ; req . end ( ) ; }
This method will get one of the components from Bootswatch, which is generally a `less` file or a `lessVariables` file.

@see http://news.bootswatch.com/post/22193315172/bootswatch-api
@param {string} url The url to retreive from
@param {function(err, responseText)} done The callback when complete
@param {?object} done.err If an error occurred, you will find it here.
@param {string} done.responseText The body of whatever was returned
@private
This method will get one of the components from Bootswatch which is generally a less file or a lessVariables file .