Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Regenerating documentation for the latest master

  • Loading branch information...
commit 694e2af7bc88902699470e11eb16f23e924298b8 1 parent a433c43
@fitzgen authored
Showing with 26 additions and 0 deletions.
  1. +26 −0 index.html
View
26 index.html
@@ -1122,8 +1122,34 @@
<span class="nx">callback</span><span class="p">,</span>
<span class="nx">context</span><span class="p">);</span>
<span class="k">return</span> <span class="k">this</span><span class="p">;</span>
+ <span class="p">};</span></pre></div></pre></div>
+ </td>
+ </tr><tr id='section-67'>
+ <td class=docs>
+ <div class="octowrap">
+ <a class="octothorpe" href="#section-67">#</a>
+ </div>
+ <h3>Network</h3>
+ </td>
+ <td class=code>
+ <div class='highlight'><pre><div class="highlight"><pre> <span class="nx">gh</span><span class="p">.</span><span class="nx">network</span> <span class="o">=</span> <span class="kd">function</span><span class="p">(</span><span class="nx">user</span><span class="p">,</span> <span class="nx">repo</span><span class="p">)</span> <span class="p">{</span>
+ <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="p">(</span><span class="k">this</span> <span class="k">instanceof</span> <span class="nx">gh</span><span class="p">.</span><span class="nx">network</span><span class="p">))</span> <span class="p">{</span>
+ <span class="k">return</span> <span class="k">new</span> <span class="nx">gh</span><span class="p">.</span><span class="nx">network</span><span class="p">(</span><span class="nx">user</span><span class="p">,</span> <span class="nx">repo</span><span class="p">);</span>
+ <span class="p">}</span>
+ <span class="k">this</span><span class="p">.</span><span class="nx">user</span> <span class="o">=</span> <span class="nx">user</span><span class="p">;</span>
+ <span class="k">this</span><span class="p">.</span><span class="nx">repo</span> <span class="o">=</span> <span class="nx">repo</span><span class="p">;</span>
<span class="p">};</span>
+ <span class="nx">gh</span><span class="p">.</span><span class="nx">network</span><span class="p">.</span><span class="nx">prototype</span><span class="p">.</span><span class="nx">meta</span> <span class="o">=</span> <span class="nx">withTempApiRoot</span><span class="p">(</span>
+ <span class="s2">&quot;http://github.com/&quot;</span><span class="p">,</span>
+ <span class="kd">function</span> <span class="p">(</span><span class="nx">callback</span><span class="p">,</span> <span class="nx">context</span><span class="p">)</span> <span class="p">{</span>
+ <span class="nx">jsonp</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">user</span> <span class="o">+</span> <span class="s2">&quot;/&quot;</span> <span class="o">+</span> <span class="k">this</span><span class="p">.</span><span class="nx">repo</span> <span class="o">+</span> <span class="s2">&quot;/network_meta&quot;</span><span class="p">,</span>
+ <span class="nx">callback</span><span class="p">,</span>
+ <span class="nx">context</span><span class="p">);</span>
+ <span class="k">return</span> <span class="k">this</span><span class="p">;</span>
+ <span class="p">}</span>
+ <span class="p">);</span>
+
<span class="p">}(</span><span class="nb">window</span><span class="p">));</span>
</pre></div></pre></div>
Please sign in to comment.
Something went wrong with that request. Please try again.