예제 #1
0
 private void GenerateTemplate(LoadItem item, StringBuilder sb)
 {
     sb.Append("$.ajax({ url: 'tpl/" + item.Value + "', async: false })");
     sb.Append(".success(function(data){templates['" + item.Value.Replace(".html", "").Replace(".tpl", "") + "'] = data;});");
     sb.AppendLine();
 }