Good call, I do in fact know this but my editor at work doesn't have jslint
or jshint installed :-)


On Thu, Jun 13, 2013 at 10:29 PM, Hyeonje Jun <notifications@github.com>wrote:

> In src/perfect-scrollbar.js:
>
> > @@ -67,13 +69,23 @@
> >          $scrollbarY.css({right: scrollbarYRight - scrollLeft});
> >        };
> >
> > +      var getSettingsAdjustedThumbSize = function (thumbSize) {
> > +        if (settings.minThumbSize) {
> > +          thumbSize = Math.max(thumbSize, settings.minThumbSize);
> > +        }
> > +        if (settings.maxThumbSize) {
> > +          thumbSize = Math.min(thumbSize, settings.maxThumbSize);
> > +        }
> > +        return thumbSize;
> > +      }
>
> var style function definition should finish with semicolon.
>
> var functionName = function (...) {
>   // ...};
>
> Please refer http://javascript.crockford.com/code.html.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/noraesae/perfect-scrollbar/pull/37/files#r4694381>
> .
>