wet-boew/wet-boew — pull request #3068 by masterbee (2013-09-24 03:23:08+00:00)
Title: Menu and ajax hotfix

* Added a self cleaning function to ajax method to safeguard against other plugins triggering data-replace, data-before , etc* events
* Optimized data-replace, data-before, etc code base by creating the _elm reference at the beginning of the event trap once instead of have the same code duplicated throughout all variation of the switch statements ( less code )
* Added a menu post-ajax hook to allow for class manipulation to help fight the flash of un-styled content.