src/openseadragon.js
function( object, method ) {
            return function(){
                var args = arguments;
                if ( args === undefined ){
                    args = [];
                }
                return method.apply( object, args );
            };
        }
function( object, method ) {
            return function(){
                var args = arguments;
                if ( args === undefined ){
                    args = [];
                }
                return method.apply( object, args );
            };
        }
function ( object , method ) { return function ( ) { var args = arguments ; if ( args === undefined ) { args = [ ] ; } return method . apply ( object , args ) ; } ; }
Returns a function which invokes the method as if it were a method belonging to the object.
@function
@param {Object} object
@param {Function} method
@returns {Function}
Returns a function which invokes the method as if it were a method belonging to the object .