-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce number of ignored NumberFormatExceptions in PugJexlArithmetic#…
…add operation #32 Also changed subtract to be in line with pugjs
- Loading branch information
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<ul id="menu"> | ||
<li><a href="/browse?page=4">Previous page</a></li> | ||
<li><a href="/browse?page=6">Next page</a></li> | ||
</ul> | ||
<ul id="menu2"> | ||
<li><a href="/browse?page=4">Previous page</a></li> | ||
<li><a href="/browse?page=51">Next page</a></li> | ||
</ul> | ||
<ul id="menu3"> | ||
<li><a href="null">Previous page</a></li> | ||
<li><a href="/browse?page=51">Next page</a></li> | ||
</ul> | ||
<ul id="menu4"> | ||
<li><a href="null">Previous page</a></li> | ||
<li><a href="/browse?page=51">Next page</a></li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-var page = 5 | ||
ul#menu | ||
li: a(href="/browse?page=" + (page - 1)) Previous page | ||
li: a(href="/browse?page=" + (page + 1)) Next page | ||
|
||
-page = "5" | ||
ul#menu2 | ||
li: a(href="/browse?page=" + (page - 1)) Previous page | ||
li: a(href="/browse?page=" + (page + 1)) Next page | ||
-page = 5 | ||
ul#menu3 | ||
li: a(href="/browse?page=" + page - 1) Previous page | ||
li: a(href="/browse?page=" + page + 1) Next page | ||
|
||
-page= "5" | ||
ul#menu4 | ||
li: a(href="/browse?page=" + page - 1) Previous page | ||
li: a(href="/browse?page=" + page + 1) Next page |