jquerylog
Grünschnabel
Hello,
I'm sorry for posting this in English but I live in Luxembourg and am currently still learning both LB and DE So it must be in english.
I've just released this yesterday and I'm looking for reviews.
It's an edit to jQuery to allow chain logs for faster and simpler debugging.
Pretty much it allows to log both the selectors and return values when doing function chains on jQuery.
This project is pretty new so if you want to blog or tweet about it I would apreciate it as, with more ppl using it and more feedback flowing in I'll be able to get it much better.
One of the functionalities I wish to add in the future is throwing the logs via AJAX so you can debug stuff running on your users interface.
The project's site is http://www.jquerylog.com hope this can be usefull for many big jquery engineers such as myself. If you feel the examples on the page are not good enought please tell me so I can improve them (both here or as a comment on http://blog.jquerylog.com)
My idea is when having a bug in jquery I ended up doing the following
$("#foo").parents(".t1").find(".t2:last ."+someString+":last").text("test"); // chain with a bug
console.log("#foo");
console.log($("#foo"));
console.log(".t1");
console.log("$("#foo").parents(".t1")");
console.log(".t2:last ."+someString+":last");
console.log($("#foo").parents(".t1").find(".t2:last ."+someString+":last"));
Writing this was very frustrating, as I guess many already went through it, I've edited jQuery and now released it so others can also use it.
The project's site is http://www.jquerylog.com hope this can be usefull for many big jquery engineers such as myself. If you feel the examples on the page are not good enought please tell me so I can improve them (both here or as a comment on http://blog.jquerylog.com )
/Francisco
Btw any replies please do it in english otherwise I'll have to google translate them
And also I don't want to seem imposing. If you feel this is not the place to ask for feedback just tell me or remove the post, no hard feelings on it.
I'm sorry for posting this in English but I live in Luxembourg and am currently still learning both LB and DE So it must be in english.
I've just released this yesterday and I'm looking for reviews.
It's an edit to jQuery to allow chain logs for faster and simpler debugging.
Pretty much it allows to log both the selectors and return values when doing function chains on jQuery.
This project is pretty new so if you want to blog or tweet about it I would apreciate it as, with more ppl using it and more feedback flowing in I'll be able to get it much better.
One of the functionalities I wish to add in the future is throwing the logs via AJAX so you can debug stuff running on your users interface.
The project's site is http://www.jquerylog.com hope this can be usefull for many big jquery engineers such as myself. If you feel the examples on the page are not good enought please tell me so I can improve them (both here or as a comment on http://blog.jquerylog.com)
My idea is when having a bug in jquery I ended up doing the following
$("#foo").parents(".t1").find(".t2:last ."+someString+":last").text("test"); // chain with a bug
console.log("#foo");
console.log($("#foo"));
console.log(".t1");
console.log("$("#foo").parents(".t1")");
console.log(".t2:last ."+someString+":last");
console.log($("#foo").parents(".t1").find(".t2:last ."+someString+":last"));
Writing this was very frustrating, as I guess many already went through it, I've edited jQuery and now released it so others can also use it.
The project's site is http://www.jquerylog.com hope this can be usefull for many big jquery engineers such as myself. If you feel the examples on the page are not good enought please tell me so I can improve them (both here or as a comment on http://blog.jquerylog.com )
/Francisco
Btw any replies please do it in english otherwise I'll have to google translate them
And also I don't want to seem imposing. If you feel this is not the place to ask for feedback just tell me or remove the post, no hard feelings on it.