dist/toolkit.js
function(radio, options) {
        this.element = radio = $(radio);
        options = this.setOptions(options, radio);
        this.wrapper = this._buildWrapper();

        // Create custom input
        this.input = this.render(options.radioTemplate)
            .attr('for', radio.attr('id'))
            .insertAfter(radio);

        // Initialize events
        this.initialize();
    }
function(radio, options) {
        this.element = radio = $(radio);
        options = this.setOptions(options, radio);
        this.wrapper = this._buildWrapper();

        // Create custom input
        this.input = this.render(options.radioTemplate)
            .attr('for', radio.attr('id'))
            .insertAfter(radio);

        // Initialize events
        this.initialize();
    }
function ( radio , options ) { this . element = radio = $ ( radio ) ; options = this . setOptions ( options , radio ) ; this . wrapper = this . _buildWrapper ( ) ; // Create custom input this . input = this . render ( options . radioTemplate ) . attr ( 'for' , radio . attr ( 'id' ) ) . insertAfter ( radio ) ; // Initialize events this . initialize ( ) ; }
Initialize the radio.

@param {jQuery} radio
@param {Object} [options]
Initialize the radio .