Skip to content
Browse files

inline with spec (anything other than true is false)

  • Loading branch information...
1 parent 893a0c1 commit 7f96d16a857a530a55975079394e6215ac790f3b @mikekelly committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 hal_browser.html
View
8 hal_browser.html
@@ -67,7 +67,7 @@
<% } %>
</td>
<td>
- <% if (link.templated) { %><a class="query" href="<%= link.href %>" title="Query URI template">?</a> -<% } else { %>
+ <% if (link.templated === true) { %><a class="query" href="<%= link.href %>" title="Query URI template">?</a> -<% } else { %>
<!-- <a class="non-get" href="<%= link.href %>" title="Perform non-GET request">!</a> - -->
<a class="follow" href="<%= link.href %>" title="Follow link">=&gt;</a><% } %>
</td>
@@ -83,7 +83,7 @@
<% } %>
</td>
<td>
- <% if (obj.templated) { %><a class="query" href="<%= obj.href %>" title="Query URI template">?</a> -<% } else { %>
+ <% if (obj.templated === true) { %><a class="query" href="<%= obj.href %>" title="Query URI template">?</a> -<% } else { %>
<!-- <a class="non-get" href="<%= obj.href %>" title="Perform non-GET request">!</a> - -->
<a class="follow" href="<%= obj.href %>" title="Follow link">=&gt;</a><% } %>
</td>
@@ -139,7 +139,7 @@
<% } %>
</td>
<td>
- <% if (link.templated) { %><a class="query" href="<%= link.href %>" title="Query URI template">?</a> -<% } else { %>
+ <% if (link.templated === true) { %><a class="query" href="<%= link.href %>" title="Query URI template">?</a> -<% } else { %>
<!-- <a class="non-get" href="<%= link.href %>" title="Perform non-GET request">!</a> - -->
<a class="follow" href="<%= link.href %>" title="Follow link">=&gt;</a><% } %>
</td>
@@ -155,7 +155,7 @@
<% } %>
</td>
<td>
- <% if (obj.templated) { %><a class="query" href="<%= obj.href %>" title="Query URI template">?</a> -<% } else { %>
+ <% if (obj.templated === true) { %><a class="query" href="<%= obj.href %>" title="Query URI template">?</a> -<% } else { %>
<!--<a class="non-get" href="<%= obj.href %>" title="Perform non-GET request">!</a> - -->
<a class="follow" href="<%= obj.href %>" title="Follow link">=&gt;</a><% } %>
</td>

0 comments on commit 7f96d16

Please sign in to comment.
Something went wrong with that request. Please try again.