Hey neat!  Good to know, thanks.


On Sun, Mar 16, 2014 at 11:15 PM, Michael Brandt
<notifications@github.com>wrote:

> In src/ext/speedTweak.js:
>
> > +            };
> > +
> > +            // Make normal and fast faster
> > +            if (GS.get_option('speed_tweak_faster')) {
> > +                factors = {
> > +                    normal: 3,
> > +                    fast: 9,
> > +                    veryFast: 16
> > +                };
> > +            }
> > +
> > +            // Apply speed factor uniformly to all animation speeds
> > +            if (GS.get_option('speed_tweak_uniform')) {
> > +                var mode, prop;
> > +                _.each(['normal', 'fast', 'veryFast'], function (mode) {
> > +                    var fac = factors[mode];
>
> Underscore.js allows you to iterate over the object, giving the callback
> function arguments (key, value, list) so that there is no need to look up
> the value in the object each time. Fixed in a4abd8e<https://github.com/aiannacc/Goko-Salvager/commit/a4abd8ee54>
> .
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/aiannacc/Goko-Salvager/pull/171/files#r10646514>
> .
>