/* presentr v1.0
 * jQuery Plugin for Presentations
 * 
 * Tested on jQuery 1.2.3 - 1.6.2
 *
 * The MIT License, Copyright (c) 2011 Jordan Santell 
 * http://github.com/jsantell/presentr
 */

(function ($) {

    $.fn.presentr = function (userSettings) {

        var options = $.extend($.fn.presentr.defaults, userSettings),
            ableToSlide = true,
            ARROWKEY = {
                LEFT: 37,
                RIGHT: 39
            },
            currentSlide = 1,
            DIRECTION = {
                LEFT: -1,
                RIGHT: 1        
            },
            docLoc = document.location,
            PARSE_CURRENTSLIDE = new RegExp('#' + options.hashPrefix +
                '([0-9]+)'),
            PARSE_HASH = /(#[^ ]*)/,
            screenWidth = $(window).width(),
            $slides = this,
            totalSlides = 0;

        /* Animation, Updates */        

        function updatePage() {
            if (options.pageDisplay instanceof jQuery) {
                options.pageDisplay.html(currentSlide + '/' + totalSlides);
            }
            if (options.hashJump) {
                var hash = '#' + (options.hashPrefix + '') + (currentSlide + '');
                docLoc.href = docLoc.hash
                    ? docLoc.href.replace(PARSE_HASH, hash)
                    : docLoc.href + hash;
            }
        }


        function animateSlide(direction) {
            if (!ableToSlide) { return false; }
            ableToSlide = false;
            $slides.each(function () {
                var $obj = $(this),
                    currentPosition = parseInt($obj.css('left'), 10),
                    newPosition = currentPosition - (screenWidth * direction);

                $obj.animate({
                    left: newPosition
                }, options.speed, 'swing', function() {
                    ableToSlide = true;
                });

            });
            currentSlide += direction;
            updatePage();
        }

        /* Initializers */
        
        function initHashJump() {
            if (PARSE_CURRENTSLIDE.test(docLoc.href)) {
                var possibleSlide = ~~docLoc.href.match(PARSE_CURRENTSLIDE)[1];
                if (possibleSlide && possibleSlide <= $slides.length) {
                    currentSlide = possibleSlide;
                }
            }
        }

        function initArrowEvents() {
            $(document).keydown(function (e) {
                var key = e.which === null ? e.keyCode : e.which;
                if (key === ARROWKEY.RIGHT && currentSlide < totalSlides) {
                    animateSlide(DIRECTION.RIGHT);
                } else if (key === ARROWKEY.LEFT && currentSlide > 1) {
                    animateSlide(DIRECTION.LEFT);
                }
            });
        }

        return (function init($selectedObjects) {
            if (options.hashJump === true) initHashJump();
            if (options.arrows === true) initArrowEvents();
            
            $('body').css('overflow-x', 'hidden');
            
            $selectedObjects.each(function () {
                totalSlides++;
                var $obj = $(this),
                    margins = screenWidth - parseInt($obj.css('width'), 10),
                    currentDiff = (totalSlides - currentSlide),
                    position  = (currentDiff * screenWidth) + (margins / 2);
                
                $obj.css({
                    'display': 'block',
                    'position': 'fixed',
                    'left': position
                });
            });
            updatePage();
            return $selectedObjects;
        }($slides));
        
    };

    /* Public members */

    $.fn.presentr.defaults = {
        speed : 1000,
        arrows : true, // For future, non-keyboard inputs
        hashJump : true,
        hashPrefix : 'slide',
        pageDisplay : null
    };

}(jQuery));


@@ -1434,18 +1434,16 @@
 ToSlide)
- %7B
  return 
@@ -1448,18 +1448,16 @@
 n false;
- %7D
 %0A       
@@ -1827,16 +1827,17 @@
 function
+ 
 () %7B%0A   
@@ -2883,25 +2883,16 @@
 hashJump
- === true
 ) initHa
@@ -2935,17 +2935,8 @@
 rows
- === true
 ) in

Remove redundant syntax