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

                /*
                * When Offside is called for the first time,
                * inject a singleton-factory object
                * as a static method in "offside.factory".
                *
                * Offside factory serves the following purposes:
                * - DOM initialization
                * - Centralized Offside instances management and initialization
                */
                if ( !singleton.getInstance.factory ) {
                    singleton.getInstance.factory = initOffsideFactory( options );
                }

                return singleton.getInstance.factory.getOffsideInstance( el, options );
            }
function ( el, options ) {

                /*
                * When Offside is called for the first time,
                * inject a singleton-factory object
                * as a static method in "offside.factory".
                *
                * Offside factory serves the following purposes:
                * - DOM initialization
                * - Centralized Offside instances management and initialization
                */
                if ( !singleton.getInstance.factory ) {
                    singleton.getInstance.factory = initOffsideFactory( options );
                }

                return singleton.getInstance.factory.getOffsideInstance( el, options );
            }
function ( el , options ) { /*
                * When Offside is called for the first time,
                * inject a singleton-factory object
                * as a static method in "offside.factory".
                *
                * Offside factory serves the following purposes:
                * - DOM initialization
                * - Centralized Offside instances management and initialization
                */ if ( ! singleton . getInstance . factory ) { singleton . getInstance . factory = initOffsideFactory ( options ) ; } return singleton . getInstance . factory . getOffsideInstance ( el , options ) ; }
Get the Singleton instance if one exists or create one if it doesn't
Get the Singleton instance if one exists or create one if it doesn t