You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2013/04/22 04:58:42 UTC

svn commit: r1470378 - /thrift/site/publish/index.html

Author: jfarrell
Date: Mon Apr 22 02:58:41 2013
New Revision: 1470378

URL: http://svn.apache.org/r1470378
Log:
Fixing Apache Thrift website index.html from broken div containers due to coderay encoding.


Modified:
    thrift/site/publish/index.html

Modified: thrift/site/publish/index.html
URL: http://svn.apache.org/viewvc/thrift/site/publish/index.html?rev=1470378&r1=1470377&r2=1470378&view=diff
==============================================================================
--- thrift/site/publish/index.html (original)
+++ thrift/site/publish/index.html Mon Apr 22 02:58:41 2013
@@ -150,10 +150,10 @@
       </code></pre>
     </div>
     <div class="tab-pane" id="2">
-      <div class="CodeRay"><div class="code"><pre><code class="language-python">      <span style="color:#777"># Make an object</span>
-      up = UserProfile(uid=<span style="color:#00D">1</span>,
-                       name=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Test User</span><span style="color:#710">"</span></span>,
-                       blurb=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Thrift is great</span><span style="color:#710">"</span></span>)
+      <div class="CodeRay"><div class="code"><pre><code class="language-python">  <span style="color:#777"># Make an object</span>
+  up = UserProfile(uid=<span style="color:#00D">1</span>,
+      name=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Test User</span><span style="color:#710">"</span></span>,
+      blurb=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Thrift is great</span><span style="color:#710">"</span></span>)
 
   <span style="color:#777"># Talk to a server via TCP sockets, using a binary protocol</span>
   transport = TSocket.TSocket(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">localhost</span><span style="color:#710">"</span></span>, <span style="color:#00D">9090</span>)
@@ -166,10 +166,11 @@
 
   <span style="color:#777"># Retrieve something as well</span>
   up2 = service.retrieve(<span style="color:#00D">2</span>)
-  &lt;/code&gt;&lt;/pre&gt;
-&lt;/div&gt;
-&lt;div <span style="color:#080;font-weight:bold">class</span>=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">tab-pane</span><span style="color:#710">"</span></span> id=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">3</span><span style="color:#710">"</span></span>&gt;
-  &lt;pre&gt;&lt;code <span style="color:#080;font-weight:bold">class</span>=<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">language-c</span><span style="color:#710">"</span></span>&gt;
+  </code></pre>
+</div></div></div>
+
+<div class="tab-pane" id="3">
+  <div class="CodeRay"><div class="code"><pre><code class="language-c">
   <span style="color:#080;font-weight:bold">class</span> <span style="color:#B06;font-weight:bold">UserStorageHandler</span> : virtual public UserStorageIf {
    public:
     UserStorageHandler() {
@@ -196,10 +197,8 @@
     shared_ptr&lt;TProtocolFactory&gt; protocolFactory(new TBinaryProtocolFactory());
     TSimpleServer server(processor, serverTransport, transportFactory, protocolFactory);
     server.serve();
-    <span style="color:#080;font-weight:bold">return</span> <span style="color:#00D">0</span>;
   }
-  &lt;/code&gt;&lt;/pre&gt;
-&lt;/div&gt;</code></pre></div></div>
+ </code></pre></div></div>
 </div>
 </div>
 </div>