From dc2f6d451a11e5009203b4b041ecda5e13cf6330 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Tue, 24 Feb 2015 14:18:07 -0500 Subject: [PATCH] Fix example code for the old matcher --- docs/examples.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples.html b/docs/examples.html index f805ead4..e2e5fef7 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -703,7 +703,7 @@ function matchStart (term, text) { return false; } -$.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) { +$.fn.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) { $(".js-example-matcher-start").select2({ matcher: oldMatcher(matchStart) })