title: Select2 custom dataAdapter without AMD
body: <p>I want to create a custom dataAdapter for select2 but the examples I see online all make use of AMD. We don't use AMD in our projects. How can I create my custom dataAdapter? A plain object that implements <code>current</code> and <code>query</code> methods is not enough.</p>