[jQuery] What's the proper way?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=259175823-07112006><FONT face=Arial
color=#0000ff size=2>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).</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com] <B>On Behalf Of </B>Christopher
Jordan<BR><B>Sent:</B> Tuesday, November 07, 2006 3:45 PM<BR><B>To:</B> jQuery
Discussion.<BR><B>Subject:</B> Re: [jQuery] What's the proper
way?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2><FONT face="Courier New, Courier, monospace">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/<BR><BR>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?</FONT></FONT><FONT size=2><FONT face=Arial color=#0000ff><SPAN
class=259175823-07112006> </SPAN></FONT></FONT></DIV></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/