That's a
good point. That probably is the best way.
Chris
Chris W. Parker wrote:
The problem is the issue of
maintenance (among others...?). When someone updates their plugin you
have to download the new one, find the plugin code in the jquery.js
file, delete the old code from the jquery file and then insert the new
code. But if you include an external file you simply need to
download the new code and point your parent script to the new file (if
you've changed the name of the file).
I
read on jQuery.com (should'a looked there first. doh!), and it said
that all plug-ins just needed to be included after the jQuery core.
Nothin' fancy. :o) Well, duh... that's what pasting it in the main core
file does. I re-downloaded the json.js package (hacked by Mark Gibson
for jQuery), it it worked. The problem was in the source, and not in
the way I was including it. :o/
So what are people's opinions on putting plug-ins in the same file as
the core source? I'm just trying to minimize the number of files I
include, but is that the right thing to do?
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
|
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/