Posted By

Piotrek290 on 12/11/09


Tagged

javascript jquery SoQ extending


Versions (?)

"From SoQ to jQuery"


 / Published in: JavaScript
 

Change old functions to new -> "From SoQ to jQuery"

  1. $.extend({
  2. eq : function(a1){ return this[a1]; },
  3. addClass : function(a1){ return this.aClass(a1); },
  4. removeClass : function(a1){ return this.rClass(a1); },
  5. toggleClass : function(a1){ return this.tClass(a1); },
  6. find : function(a1){ return this.child(a1); }
  7. });

Report this snippet  

You need to login to post a comment.