From 5094df886cf534575bd46d83b917b83d160375f4 Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Tue, 10 Apr 2012 09:09:20 -0700 Subject: [PATCH 1/2] Remove duplicate window exports --- select2.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/select2.js b/select2.js index 608983a6..ef864be1 100755 --- a/select2.js +++ b/select2.js @@ -284,13 +284,6 @@ } } - // exports - window.Select2 = {query: {}, util: {}}; - window.Select2.util.debounce = debounce; - window.Select2.query.ajax = ajax; - window.Select2.query.local = local; - window.Select2.query.tags = tags; - /** * blurs any Select2 container that has focus when an element outside them was clicked or received focus */ From 0645a09e8a71f26fdf1fb0589b7755b41631ad25 Mon Sep 17 00:00:00 2001 From: Justin DuJardin Date: Tue, 10 Apr 2012 09:12:19 -0700 Subject: [PATCH 2/2] tags in the exports. --- select2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/select2.js b/select2.js index ef864be1..259fce58 100755 --- a/select2.js +++ b/select2.js @@ -1324,7 +1324,8 @@ window.Select2 = { query: { ajax: ajax, - local: local + local: local, + tags: tags }, util: { debounce: debounce }, "class": {