I will start a plugin with
(function($) {
   var version = 'Beta V0.2 ';

and ending with
}(jQuery));

But anything that has the word version in it would be very helpful.

/* billy bob's hacked version 3.2 */

I would quickly grep my files and find the version in use.

On 6/13/07, Bil Corry <[EMAIL PROTECTED]> wrote:


Sean Catchpole wrote on 6/13/2007 12:42 PM:
> Pro:
> Easily glance at script version.

This becomes more important when taking over an existing project that you
didn't code.  For example, imagine if the project used the tableFilter
plugin (randomly picked).  By looking at the filename and source, can you
tell if this the first beta or the second?

<
http://ideamill.synaptrixgroup.com/jquery/tablefilter/_dist/jquery.tableFilter-packed.js
>

There's no quick way to know.


- Bil





--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to