premasagar / tim

A tiny, secure JavaScript micro-templating script.
251 stars 26 forks source link

Feature: support asynchronous template references #10

Open premasagar opened 12 years ago

premasagar commented 12 years ago

e.g. dom node with src:

// HTML
<script type="text/tim" class="foo" src="http://example.com"></script>

// JS
tim("foo", data, callback);