On Apr 28, 2008, at 10:47 AM, Jörn Zaefferer wrote:
s.ross schrieb:
The files are available -- without git -- on github. If you don't
want to clone them, just browse to them and download what you want.
http://github.com/sxross/jquery_plugins/tree/master
Does that work ok?
That works,
s.ross schrieb:
Comments welcome!
Please provide something else then just a git link, eg. a simple
download. Its fine that you use git as your source control system, but
please don't assume everyone else does, too.
Jörn
The files are available -- without git -- on github. If you don't want
to clone them, just browse to them and download what you want.
http://github.com/sxross/jquery_plugins/tree/master
Does that work ok?
On Apr 27, 2008, at 3:56 PM, Jörn Zaefferer wrote:
s.ross schrieb:
Comments
Comments welcome!
I'd recommend not using global vars. Both of those plugins are doing so.
To be a little more specific, for example, do this:
var e = $('form input:visible');
Not:
e = $('form input:visible')
On Sun, Apr 27, 2008 at 8:11 PM, Mike Alsup [EMAIL PROTECTED] wrote:
Comments welcome!
I'd recommend not using global vars. Both of those plugins are doing so.
--
Righto. Also, there might be some benefit in wrapping w/
(function($) {
// stuff
})(jQuery);
Yes?
I have a couple of extend's to do that will make things work much more
nicely.
Thx for the comments.
On Apr 27, 2008, at 5:23 PM, Scott Trudeau wrote:
To be a little more specific, for
Yes. That creates a single scope for all the plugin code and allows you to
use $() inside that scope. Handy when the next user comes along that
doesn't use the $() alias for jQuery() (e.g., because they also use
Prototype or another library), while keeping the plugin code tight.
Scott
On Sun,
7 matches
Mail list logo