Why build Javascript functions as JQuery plugins?
Posted
by Mohammad
on Stack Overflow
See other posts from Stack Overflow
or by Mohammad
Published on 2010-06-11T17:29:17Z
Indexed on
2010/06/11
17:32 UTC
Read the original article
Hit count: 334
I've seen alot of JQuery implementations of existent JavaScript functions that merely wrap the JavaScript code in a JQuery wrapper and don't actually rely on any of JQuery's base for their operation.
What are the benefits of using Javascript as a JQuery plugin?
If there are none is there a speed loss to use a JQuery plugin that could have easily been implemented outside the wrapper just as well?
Many thanks in advance (just trying to learn something here).
© Stack Overflow or respective owner