Merge pull request #306 from jancarloviray/patch-1
Fix misspelled word "backwords" to "backwards"
This commit is contained in:
commit
fe71a4ead6
1 changed files with 4 additions and 4 deletions
|
@ -131,9 +131,9 @@ function *random(next) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function *backwords(next) {
|
function *backwards(next) {
|
||||||
if ('/backwords' == this.path) {
|
if ('/backwards' == this.path) {
|
||||||
this.body = 'sdrowkcab';
|
this.body = 'sdrawkcab';
|
||||||
} else {
|
} else {
|
||||||
yield next;
|
yield next;
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,7 @@ function *pi(next) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function *all(next) {
|
function *all(next) {
|
||||||
yield random.call(this, backwords.call(this, pi.call(this, next)));
|
yield random.call(this, backwards.call(this, pi.call(this, next)));
|
||||||
}
|
}
|
||||||
|
|
||||||
app.use(all);
|
app.use(all);
|
||||||
|
|
Loading…
Reference in a new issue