Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- option: function(item, escape) {
- var popular = escape(item.ISPOPULAR) == 1 ? ' '+'isPopular' : '';
- return '<div class="option'+popular+'" data-scope="'+escape(item.TRAVELSCOPE)+'">' + item.COUNTRY + '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement