Skip to content

Commit 6e6e66b

Browse files
authored
code-organization: Fix missing invocation in final Concepts example
`feature.showItemByIndex()` function calls proxy'd function that is created in final example. Closes #780.
1 parent 910cc5f commit 6e6e66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/code-organization/concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ $( document ).ready(function() {
209209
};
210210
211211
var showItemByIndex = function( idx ) {
212-
$.proxy( showItem, items.get( idx ) );
212+
$.proxy( showItem, items.get( idx ) )();
213213
};
214214
215215
var getContent = function( callback ) {

0 commit comments

Comments
 (0)