Extract header.

This commit is contained in:
Miao Jiang 2013-05-25 16:00:35 +08:00
parent b77ee78afd
commit 8de753eec9
11 changed files with 108 additions and 35 deletions

View file

@ -1,4 +1,4 @@
// Generated by ToffeeScript 1.4.0
// Generated by ToffeeScript 1.6.2-5
(function() {
var Curl, assert, i, j, next, _fn, _i;
@ -17,16 +17,15 @@
var curl, once;
curl = Curl.create();
return (once = function() {
var _this = this;
return curl('localhost/test.html', function(_$$_err, _$$_res) {
var err, res;
err = _$$_err;
res = _$$_res;
var err, res,
_this = this;
curl('localhost/test.html', function() {
err = arguments[0], res = arguments[1];
assert.equal(res.body.length, 1468);
if (++j % 100 === 0) {
console.info(j);
}
if (j < 5000) {
if (j < 500000) {
return once();
}
});