Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var template, html = jQuery.trim(jQuery("#template").html());
- template = Mustache.compile(html);
- var view = function(c){
- c.uid = c.fk_id_user;
- c.cname = c.c_name;
- c.csurname = c.c_surname;
- c.ccountry = c.c_country;
- return template(c);
- //return this.link('http://xxxxxxxx.com/coach-profile/?coach=' + coach.fk_id_user ,{'title': coach.c_name}, [cname,csurname,ccountry]);
- };
- var settings = {
- search: {input: '#searchbox' },
- and_filter_on: false,
- };
- return FilterJS(coaches, "#list_coaches", view, settings);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement