This file ( 515B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*
* grunt-express-server
* https://github.com/ericclemmons/grunt-express-server
*
* Copyright (c) 2013 Eric Clemmons
* Licensed under the MIT license.
*/
'use strict';
var http = require('http');
module.exports = function get(url, callback, error) {
var req = http.get(url, function(res) {
var body = '';
res.on('data', function(chunk) {
body += chunk;
}).on('end', function() {
callback(res, body);
});
});
if (error) {
req.on('error', error)
};
req.end();
}