From 28917bc948572254beedec920ee57b9f473cdb92 Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Tue, 2 May 2006 00:20:31 +0000 Subject: [PATCH] Tab patrol --- js/src/Y.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/Y.js b/js/src/Y.js index a3b5962ad69..e92a65a5df9 100644 --- a/js/src/Y.js +++ b/js/src/Y.js @@ -2,16 +2,16 @@ function factorial(proc) { return function (n) { - return (n <= 1) ? 1 : n * proc(n-1); + return (n <= 1) ? 1 : n * proc(n-1); } } function Y(outer) { function inner(proc) { - function apply(arg) { - return proc(proc)(arg); - } - return outer(apply); + function apply(arg) { + return proc(proc)(arg); + } + return outer(apply); } return inner(inner); }