mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 02:42:48 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
7
node_modules/ejs/test/ejs.js
generated
vendored
7
node_modules/ejs/test/ejs.js
generated
vendored
@@ -525,6 +525,13 @@ suite('<%%', function () {
|
||||
});
|
||||
});
|
||||
|
||||
suite('<%_ and _%>', function () {
|
||||
test('slurps spaces and tabs', function () {
|
||||
assert.equal(ejs.render(fixture('space-and-tab-slurp.ejs'), {users: users}),
|
||||
fixture('space-and-tab-slurp.html'));
|
||||
});
|
||||
});
|
||||
|
||||
suite('single quotes', function () {
|
||||
test('not mess up the constructed function', function () {
|
||||
assert.equal(ejs.render(fixture('single-quote.ejs')),
|
||||
|
||||
5
node_modules/ejs/test/fixtures/space-and-tab-slurp.ejs
generated
vendored
Normal file
5
node_modules/ejs/test/fixtures/space-and-tab-slurp.ejs
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
<%_ users.forEach(function(user){ _%>
|
||||
<li><%= user.name %></li>
|
||||
<%_ }) _%>
|
||||
</ul>
|
||||
5
node_modules/ejs/test/fixtures/space-and-tab-slurp.html
generated
vendored
Normal file
5
node_modules/ejs/test/fixtures/space-and-tab-slurp.html
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
<li>geddy</li>
|
||||
<li>neil</li>
|
||||
<li>alex</li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user