Seeing how you are adding several variables to
$
, you might want to keep in mind that some names are already taken by jQuery's own methods - and to not overwrite them. Doing a
console.log($)
will show the whole object tree and what not to name your extension. As to the code review you referred to (Stack isn't really the platform but I'm not on Github),
here is a paste that uses a single object for the variables. I also altered a few other things (chaining and returning
this
) and removed some lines that seemed superfluous. —
Shikkediel 31 secs ago