-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.html
More file actions
22 lines (22 loc) · 823 Bytes
/
example.html
File metadata and controls
22 lines (22 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="https://github.com/woome/tache/raw/release_201104250234/jquery.tache.js"></script>
</head>
<body>
<h1 id="header">Mustache</h1>
<script>
jQuery(document).ready(function () {
console.log("inside ready");
var res = jQuery.tache('<a href="{{url}}" title="{{title}}">{{title}}</a>', {
url: 'http://github.com/woome/tache',
title: 'tache - the david niven of mustache libs'
}
);
console.log(res);
jQuery("#header").after(res);
}
);
</script>
</body>
</html>