2016-11-01 2 views

답변

1

나는 당신의 문제가 정확한 장소에 템플릿을 저장하는 것으로 귀결되어 브라우저가 조숙하게 렌더링하려고하지 않을 것이라고 믿는다.

<script id="tmplt" type="text/template"> 
{{#images}} 
    <img src="{{.}}" width="10%"/> 
{{/images}} 
</script> 

<script> 
Mustache.render($('#tmplt').html(),mymodel); 
... 
</script> 
+0

진정한 친구 .. – KAD

관련 문제