From 2cadf9e0768add4bc2623b230997c5dc43e64c06 Mon Sep 17 00:00:00 2001 From: John Medland Date: Tue, 30 Oct 2018 16:35:14 +0000 Subject: [PATCH] Update concepts.md feature.showItemByIndex() function calls proxy'd function that is created in final example --- page/code-organization/concepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page/code-organization/concepts.md b/page/code-organization/concepts.md index 3029806d..7ced19ad 100644 --- a/page/code-organization/concepts.md +++ b/page/code-organization/concepts.md @@ -209,7 +209,7 @@ $( document ).ready(function() { }; var showItemByIndex = function( idx ) { - $.proxy( showItem, items.get( idx ) ); + $.proxy( showItem, items.get( idx ) )(); }; var getContent = function( callback ) {