From b807fc81af016037c4d15cbb7c7cad201018c6db Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 29 Mar 2012 12:34:13 +0000 Subject: [PATCH] fix a bug that would throw an error when running tests for Ox.cache --- source/Ox/js/Function.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Ox/js/Function.js b/source/Ox/js/Function.js index f59f1c18..ae081adc 100644 --- a/source/Ox/js/Function.js +++ b/source/Ox/js/Function.js @@ -2,11 +2,11 @@ /*@ Ox.cache Memoize a function - > f(10) == f(10); + > Ox.test.fn(10) == Ox.test.fn(10); true - > f(10) == f.clear()(10); + > Ox.test.fn(10) == Ox.test.fn.clear()(10); false @*/ Ox.cache = function(fn) {