Skip to content
Browse files

Add classes so bad selector engines are worky

  • Loading branch information...
1 parent 7378dd9 commit 5e71148bbe602d7401a44cfeddffea7ed359218f @Almad Almad committed Apr 25, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 curl.html
  2. +1 −1 javascript.html
  3. +2 −2 nodejs.html
  4. +1 −1 python.html
  5. +1 −1 raw.html
  6. +1 −1 ruby.html
View
2 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 %> \
View
2 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();
View
4 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");
@@ -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>
View
2 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
View
2 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>
View
2 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'

0 comments on commit 5e71148

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