{"label":"Component JS","syntax":"js"} function init_components_{{entity}}(input){ var data = {}; input.component_autocomplete('{{entity}}',$.extend(data,{ skin : function(item){ var html = ''; var re = new RegExp(input.val(),"gi"); label = item.label.replace(re, function (x) { return ''+x+''; }); html += '