/**
 * @preserve jquery.translate3d.js
 * Author: Andy Merhaut
 * Free to modify and use under the MIT license
 * github.com/tagr/translate3d
 * Plugin credit to jQuery Boilerplate (github.com/jquery-boilerplate/jquery-boilerplate/)
 */
;(function ( $, window, document, undefined ) {

    // Create the defaults once
    var pluginName = "translate3d",
    defaults = {
        count: 0,
        cssClass: 'translate3d_' + (Math.random().toString(36).substr(2, 12)),
        direction: 'alternate',
        duration: '20',
        endX: 0,
        endY: 0,
        endZ: 0,
        startX: 0,
        startY: 0,
        startZ: 0,
        timing: 'linear',
        vendorPrefixes: ['ms','moz','webkit'],
        useVendorPrefixes: true
    };

    // The actual plugin constructor
    function translate3d ( element, options ) {
        this.element = element;
        this.settings = $.extend( {}, defaults, options );
        this._defaults = defaults;
        this._name = pluginName;
        this.init();
    }

    translate3d.prototype = {
        init: function () {

            //Generate CSS
            var config = this.settings;
            var count = config.count === 0 ? 'infinite' : config.count;

            // Animation CSS
            var styles = '.' + config.cssClass +' {\n    animation: ' + config.cssClass + ' ' + 
                config.duration + 's ' + config.timing + ' ' + count + ' ' + config.direction + ';\n';
            if (config.useVendorPrefixes && config.vendorPrefixes !== null) {
                var c = config.vendorPrefixes.length;
                while (c--) {
                    styles += '    -' + config.vendorPrefixes[c] + '-animation: ' + config.cssClass + ' ' + 
                        config.duration + 's ' + config.timing + ' ' + count + ' ' + config.direction + ';\n'
                }
            }
            styles += ' }\n';
        
            // Keyframes CSS
            styles += '@keyframes ' + config.cssClass + 
             '{\n    0% { transform: translate3d(' + config.startX + 'px,' + config.startY + 'px,' + config.startZ + 'px); }' +
             '\n    100% { transform: translate3d(' + config.endX + 'px,' + config.endY + 'px,' + config.endZ + 'px); }\n}\n';

            if (config.useVendorPrefixes && config.vendorPrefixes !== null) {
                var c = config.vendorPrefixes.length;
                while (c--) {
                    styles += '@-' + config.vendorPrefixes[c] + '-keyframes ' + config.cssClass + 
                      ' {\n    0% { -' + config.vendorPrefixes[c] + 
                      '-transform: translate3d(' + config.startX + 'px,' + config.startY + 'px,' + config.startZ + 'px); }' +
                      '\n    100% { -' + config.vendorPrefixes[c] + '-transform: translate3d(' + config.endX + 'px,' + config.endY + 'px,' + config.endZ + 'px); }\n}\n';
                }
            }
  
            // Append the dynamic CSS to the document (if it does not yet exist).
            if (document.querySelector(config.cssClass) === null) {
                var css = document.createElement('style');
                css.type = 'text/css';
                css.title = config.cssClass;
                if (css.styleSheet) css.styleSheet.cssText = styles;
                  else css.appendChild(document.createTextNode(styles));

                document.querySelector("head").appendChild(css);
            }

            //Append the dynamic CSS class name to the current element.
            this.element.className += ' ' + config.cssClass;
        }
    };

    // A really lightweight plugin wrapper around the constructor,
    // preventing against multiple instantiations
    $.fn[ pluginName ] = function ( options ) {
        return this.each(function() {
        if ( !$.data( this, "plugin_" + pluginName ) ) {
            $.data( this, "plugin_" + pluginName, new translate3d( this, options ) );
        }
        });
    };

})( jQuery, window, document );

@@ -107,16 +107,24 @@
 ense%0A * 
+https://
 github.c
@@ -147,99 +147,8 @@
 e3d%0A
- * Plugin credit to jQuery Boilerplate (github.com/jquery-boilerplate/jquery-boilerplate/)%0A
  */%0A
@@ -2931,16 +2931,22 @@
 elector(
+'.' + 
 config.c
@@ -3408,32 +3408,34 @@
 nt.%0A            
+//
 this.element.cla
@@ -3459,32 +3459,89 @@
 onfig.cssClass;%0A
+            this.element.classList.add(config.cssClass);%0A
         %7D%0A    %7D;

Update jquery.translate3d.js