Paul Bakaus wrote: > Hey John, sorry to chime in late here, just wanted to get my thoughts out as > well: > > On Tue, Feb 24, 2009 at 10:26 PM, John Resig <jere...@gmail.com> wrote: > ... >> - Debugging utility >> > This could be external, but I could also imagine having a prebuild "debug" > version of > jQuery which could be used in development and later on replaced by the > production version. > > ... I also thought about the idea of a jquery-debug.js at one point. My thought was adding a number of logging statements for various warnings (selector found 0 nodes but you try to style or do stuff to it; common issue for not understanding why nothing has been styled sometimes) which would hook into a variety of debuggers including FireBug. The actual .log statements would be wrapped in special conditional comments which the build script would mutate to output jquery.js and jquery-debug.js versions.
Other than .log statements for various parts of code where things may be unexpected, can anyone think of other ideas of what a debug version could have? ~Daniel Friesen (Dantman, Nadir-Seen-Fire) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---