Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1385 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  jQueryLog new debugging extension for jQuery (feedback request)

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

jQueryLog new debugging extension for jQuery (feedback request)

n°2116556
jquerylog
Posté le 13-12-2011 à 21:35:26  profilanswer
 

Hello,
 
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

mood
Publicité
Posté le 13-12-2011 à 21:35:26  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  jQueryLog new debugging extension for jQuery (feedback request)

 

Sujets relatifs
Extension google chromeAdapter un script jQuery (popin)... pour l'exécuter depuis un flash
<audio> jquery problème avec l'event ended[resolu] comment récupérer le contenu d'un json avec jquery
jquery et ui : j'ai besoin d'un petit coup de main pour me lancer.[jQuery] Code non exécuté
menu javascript + slider jquery avec IE7rollover sur toute une ligne et toute une colonne avec jquery
[RESOLU:CONTOURNE] [jQuery] each imbriquéj'essaie de modifier une div avec jquery et la methode animate
Plus de sujets relatifs à : jQueryLog new debugging extension for jQuery (feedback request)


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR