brutaldesign/swipebox — pull request #116 by baranga (2014-04-02 14:50:55+00:00)
Title: declare $elem as local var

The variable $elem isn't declared in plugin scope so it gets global. This can lead to problems if the plugin gets used in a strict environment.