Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 650 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 650 Bytes

There are much better solutions for requiring select2 in browserify than this module. See #4

Select2-browserify

Browersified version of the excellent jQuery based replacement for select boxes: Select2

Get started:

Install select2-browserify

npm install browserify            # Install browserify if not yet
npm install select2-browserify

Require it

var $ = require('jquery'),
    select2 = require('select2-browserify');

Links:

Browserify: https://github.com/substack/node-browserify
Select2: http://ivaynberg.github.com/select2