diff options
| author | Teddy Wing | 2013-04-27 19:25:40 -0400 |
|---|---|---|
| committer | Teddy Wing | 2013-04-27 19:25:56 -0400 |
| commit | 512e8b2da71de59132a29e80d7359ac843d62f07 (patch) | |
| tree | 3f5024a4f75072eda45713dcd429a0b58bf969b9 /node_modules/ejs/examples/client.html | |
| parent | 4b14305623d5ddc59f435fc5e35c54c0def1d392 (diff) | |
| download | Who-am-I-512e8b2da71de59132a29e80d7359ac843d62f07.tar.bz2 | |
Untrack ./node_modules
Sorry, my bad for not ignoring it initially.
Diffstat (limited to 'node_modules/ejs/examples/client.html')
| -rw-r--r-- | node_modules/ejs/examples/client.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/node_modules/ejs/examples/client.html b/node_modules/ejs/examples/client.html deleted file mode 100644 index 30dfea9..0000000 --- a/node_modules/ejs/examples/client.html +++ /dev/null @@ -1,24 +0,0 @@ -<html> - <head> - <script src="../ejs.js"></script> - <script id="users" type="text/template"> - <% if (names.length) { %> - <ul> - <% names.forEach(function(name){ %> - <li><%= name %></li> - <% }) %> - </ul> - <% } %> - </script> - <script> - onload = function(){ - var users = document.getElementById('users').innerHTML; - var names = ['loki', 'tobi', 'jane']; - var html = ejs.render(users, { names: names }); - document.body.innerHTML = html; - } - </script> - </head> - <body> - </body> -</html>
\ No newline at end of file |
