ivaynberg/select2 — pull request #591 by nervetattoo (2012-11-20 20:24:36+00:00)
Title: Support registering as an AMD module

Register select2 as an AMD module for script loaders like [require.js](http://requirejs.org/)
Basically uses the best practice pattern as of https://github.com/umdjs/umd/blob/master/jqueryPlugin.js