Define function directly instead of by assignment.
Define function directly instead of by assignment.

There is no need to assign an anonymous function to a variable here -
a regular function definition will work just fine.

cburschka/jquery-replacetext