Skip to content

Commit

Permalink
Add classes so bad selector engines are worky
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Apr 25, 2012
1 parent 7378dd9 commit 5e71148
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion curl.html
@@ -1,4 +1,4 @@
<section name="curl">
<section name="curl" class="curl">
<p class="ioDesc">In</p>
<pre class="incoming brush:shell">
curl --include<% if @headers: %><% for header,value of @headers: %> --header <%= @helpers.escape "#{header}: #{value}" %><% end %> \
Expand Down
2 changes: 1 addition & 1 deletion javascript.html
@@ -1,4 +1,4 @@
<section name="javascript">
<section name="javascript" class="javascript">
<p class="ioDesc">In</p>
<pre class="incoming brush:javascript">
var xhr = new XMLHttpRequest();
Expand Down
4 changes: 2 additions & 2 deletions nodejs.html
@@ -1,4 +1,4 @@
<section name="nodejs">
<section name="nodejs" class="nodejs">
<p class="ioDesc">In</p>
<pre class="incoming brush:js">
var request = require("request");
Expand All @@ -11,7 +11,7 @@
headers: {<%= ("#{@helpers.escape header}: #{@helpers.escape value}" for header,value of @headers).join(", ") %>}, <% end %>
method: "<%= @method.toUpperCase() %>"
}, function (error, response, body) {
<% end %> console.log("Reponse received", response);
<% end %> console.log("Reponse received", body);
});

</section>
2 changes: 1 addition & 1 deletion python.html
@@ -1,4 +1,4 @@
<section name="python">
<section name="python" class="python">
<p class="ioDesc">In</p>
<pre class="incoming brush:python">
from urllib2 import Request, urlopen
Expand Down
2 changes: 1 addition & 1 deletion raw.html
@@ -1,4 +1,4 @@
<section name="raw">
<section name="raw" class="raw">
<p class="ioDesc">In</p>
<pre class="incoming"><%= "#{header}: #{value}\n" for header, value of @headers %></pre>
<pre class="incoming<%= @helpers.getContentTypeBrush @headers %>"><%= @body.join('\n') %></pre>
Expand Down
2 changes: 1 addition & 1 deletion ruby.html
@@ -1,4 +1,4 @@
<section name="ruby">
<section name="ruby" class="ruby">
<p class="ioDesc">In</p>
<pre class="incoming brush:ruby">
require 'rubygems'
Expand Down

0 comments on commit 5e71148

Please sign in to comment.