replace ejs-utils with ejs-render-remote

This commit is contained in:
s2
2019-04-14 18:23:33 +02:00
parent f4f96fa7e9
commit dde32ded55
11 changed files with 126 additions and 19 deletions

1
node_modules/ejs-render-remote/examples/ejs.min.js generated vendored Normal file

File diff suppressed because one or more lines are too long

23
node_modules/ejs-render-remote/examples/index.html generated vendored Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ejs-render-remote example</title>
</head>
<body>
<h1>ejs-render-remote example</h1>
<p class="hello"></p>
<script src="jquery.min.js"></script>
<script src="ejs.min.js"></script>
<script src="../ejs-render-remote.js"></script>
<script>
//render the template
$('.hello').html(ejs.rr('templates/hello.ejs', {name: 'Simon'}));
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Hello <%= name%>!