src/Webcam.js
function( index, callback ) {

        var scope = this;

        var shot = scope.shots[ index|0 ];

        if( ! shot ) {

            throw new Error(
                "Shot number " + index + " not found"
            );

            return;

        }

        return shot;

    }
function( index, callback ) {

        var scope = this;

        var shot = scope.shots[ index|0 ];

        if( ! shot ) {

            throw new Error(
                "Shot number " + index + " not found"
            );

            return;

        }

        return shot;

    }
function ( index , callback ) { var scope = this ; var shot = scope . shots [ index | 0 ] ; if ( ! shot ) { throw new Error ( "Shot number " + index + " not found" ) ; return ; } return shot ; }
Get shot instances from cache index

@method getShot

@param {Number} shot Index of shots called
@param {Function} callback Returns a call from FS.readFile data

@throws Error if shot at index not found

@return {Boolean}
Get shot instances from cache index