dist/offside.js
function( el, options ) {

                        // Get length of instantiated Offsides array
                    var offsideId = instantiatedOffsides.length || 0,

                        // Instantiate new Offside instance
                        offsideInstance = createOffsideInstance( el, options, offsideId );

                    // If Offside instance is sccessfully created
                    if ( offsideInstance !== null ) {

                        // Push new instance into "instantiatedOffsides" array and return it

                        /*jshint -W093 */
                        return instantiatedOffsides[ offsideId ] = offsideInstance;
                        /*jshint +W093 */
                    }


                }
function( el, options ) {

                        // Get length of instantiated Offsides array
                    var offsideId = instantiatedOffsides.length || 0,

                        // Instantiate new Offside instance
                        offsideInstance = createOffsideInstance( el, options, offsideId );

                    // If Offside instance is sccessfully created
                    if ( offsideInstance !== null ) {

                        // Push new instance into "instantiatedOffsides" array and return it

                        /*jshint -W093 */
                        return instantiatedOffsides[ offsideId ] = offsideInstance;
                        /*jshint +W093 */
                    }


                }
function ( el , options ) { // Get length of instantiated Offsides array var offsideId = instantiatedOffsides . length || 0 , // Instantiate new Offside instance offsideInstance = createOffsideInstance ( el , options , offsideId ) ; // If Offside instance is sccessfully created if ( offsideInstance !== null ) { // Push new instance into "instantiatedOffsides" array and return it /*jshint -W093 */ return instantiatedOffsides [ offsideId ] = offsideInstance ; /*jshint +W093 */ } }
This is the method responsible for creating a new Offside instance and register it into "instantiatedOffsides" array
This is the method responsible for creating a new Offside instance and register it into instantiatedOffsides array