wet-boew/wet-boew — pull request #3144 by masterbee (2013-10-02 21:06:00+00:00)
Title: Corrected - reference error in menu.js - Changed menu property calls to ...

Changed menu property calls to direct, since .apply was stripping reference to basic HTMLNode instead, which caused an cascading .xxx method call error since it was not a jQuery Object.

In addition: Reviewing the .apply and .call in the plugin template, jsPerf on the performance and it showed that direct calling the method instead of using .apply and or .call was more per-formant. This is something to consider for the plugin template.

http://jsperf.com/function-versus-function-call-versus-function-apply/17