SHARE
TWEET

Untitled

a guest Apr 2nd, 2013 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var template, html = jQuery.trim(jQuery("#template").html());
  2.  
  3.   template = Mustache.compile(html);
  4.  
  5.      var view = function(c){
  6.      c.uid = c.fk_id_user;
  7.      c.cname = c.c_name;
  8.      c.csurname = c.c_surname;
  9.      c.ccountry = c.c_country;
  10.  
  11.       return template(c);
  12.       //return this.link('http://xxxxxxxx.com/coach-profile/?coach=' + coach.fk_id_user ,{'title': coach.c_name}, [cname,csurname,ccountry]);
  13. };
  14.   var settings = {
  15.       search: {input: '#searchbox' },
  16.       and_filter_on: false,
  17.   };
  18.   return FilterJS(coaches, "#list_coaches", view, settings);
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top