Skip to content
Myr

build: ejs@3.1.6

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #4572 closes #4573

authored by Aravind Nair · committed by Douglas Christopher Wilson · parent eb76236 · Browse files · 10 files+19 added−20 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

10 files+19 added−20 removed

  • other:+19 added−20 removed

10 files+19 added−20 removed

modified:examples/auth/views/login.ejs+2 added-3 removed
12<% var title = 'Authentication Example' %>3<% include head %>2<%- include('head', { title: 'Authentication Example' }) -%>34<h1>Login</h1>5<%- message %>6Try accessing <a href="/restricted">/restricted</a>, then authenticate with "tj" and "foobar".
10 unmodified lines
17 <input type="submit" value="Login">18 </p>19</form>2022<% include foot %>21<%- include('foot') -%>
modified:examples/ejs/views/users.html+2 added-2 removed
modified:examples/error-pages/views/404.ejs+2 added-2 removed
1<% include error_header %>1<%- include('error_header') -%>2<h2>Cannot find <%= url %></h2>3<% include footer %>3<%- include('footer') -%>
modified:examples/error-pages/views/500.ejs+2 added-2 removed
1<% include error_header %>1<%- include('error_header') -%>2<h2>Error: <%= error.message %></h2>3<% if (settings['verbose errors']) { %>4 <pre><%= error.stack %></pre>5<% } else { %>6 <p>An error occurred!</p>7<% } %>8<% include footer %>8<%- include('footer') -%>
modified:examples/route-separation/views/posts/index.ejs+2 added-2 removed
1<% include ../header %>1<%- include('../header') -%>23<h1>Posts</h1>45<dl id="posts">
2 unmodified lines
8 <dd><%= post.body %></dd>9 <% }) %>10</dl>1112<% include ../footer %>12<%- include('../footer') -%>
modified:examples/route-separation/views/users/edit.ejs+2 added-2 removed
1<% include ../header %>1<%- include('../header') -%>23<h1>Editing <%= user.name %></h1>45<div id="user">
13 unmodified lines
19 </p>20 </form>21</div>2223<% include ../footer %>23<%- include('../footer') -%>
modified:examples/route-separation/views/users/index.ejs+2 added-2 removed
1<% include ../header %>1<%- include('../header') -%>23<h1><%= title %></h1>45<div id="users">
4 unmodified lines
10 </li>11 <% }) %>12</div>1314<% include ../footer %>14<%- include('../footer') -%>
modified:examples/route-separation/views/users/view.ejs+2 added-2 removed
1<% include ../header %>1<%- include('../header') -%>23<h1><%= user.name %></h1>45<div id="user">6 <p>Email: <%= user.email %></p>7</div>89<% include ../footer %>9<%- include('../footer') -%>
modified:examples/route-separation/views/index.ejs+2 added-2 removed
1<% include header %>1<%- include('header') -%>23<h1><%= title %></h1>45<ul>6 <li>Visit the <a href="/users">users</a> page.</li>7 <li>Visit the <a href="/posts">posts</a> page.</li>8</ul>910<% include footer %>10<%- include('footer') -%>
modified:package.json+1 added-1 removed
62 unmodified lines
63 "after": "0.8.2",64 "connect-redis": "3.4.2",65 "cookie-parser": "~1.4.4",66 "cookie-session": "1.3.3",67 "ejs": "2.7.2",67 "ejs": "3.1.6",68 "eslint": "2.13.1",69 "express-session": "1.17.0",70 "hbs": "4.1.2",71 "istanbul": "0.4.5",
28 unmodified lines