From 6fd7f7e76a9dee93d2440b1a0e57c2d081046344 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Fri, 10 Aug 2012 22:07:49 -0500 Subject: typos and shit --- samples/call_method.js | 4 ++-- samples/func_ret_func.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'samples') diff --git a/samples/call_method.js b/samples/call_method.js index a227562..0197723 100644 --- a/samples/call_method.js +++ b/samples/call_method.js @@ -1,6 +1,6 @@ /* shows how to use call() and apply() - * essentially give a method called .bar(), instead of calling it directly with - * use of dobule parens we append .call(instance [, arg1, arg2, ...]), where + * essentially given a method called .bar(), instead of calling it directly with + * use of double parens we append .call(instance [, arg1, arg2, ...]), where * apply takes array of args */ diff --git a/samples/func_ret_func.js b/samples/func_ret_func.js index b4b5a09..2decac3 100644 --- a/samples/func_ret_func.js +++ b/samples/func_ret_func.js @@ -8,5 +8,5 @@ function retFunction(foo) { } var foo = new retFunction('hello, world!'); -foo.call(foo); +foo.call(foo); /* call the bar() with no args in foo object */ -- cgit v1.2.3