Permalink
Browse files

Updated docs and index.html

  • Loading branch information...
1 parent 77cb057 commit fe29e754376d3206dc092097d437fb88ece71cc0 @Raynos committed Sep 1, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 docs/contract.html
  2. +1 −1 index.html
  3. +1 −1 src/contract.js
View
@@ -1,4 +1,4 @@
-<!DOCTYPE html> <html> <head> <title>contract.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> contract.js </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-1">&#182;</a> </div> <h1><a href="https://github.com/Raynos/contract">Github Repo</a></h1> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>A method that generates a function which will wrap the function <code>f</code> and
+<!DOCTYPE html> <html> <head> <title>contract.js</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> contract.js </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-1">&#182;</a> </div> <h2><a href="https://github.com/Raynos/contract">Github Repo</a></h2> </td> <td class="code"> <div class="highlight"><pre></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-2">&#182;</a> </div> <p>A method that generates a function which will wrap the function <code>f</code> and
call the pre condition with (arg1, arg2, ...)</p> </td> <td class="code"> <div class="highlight"><pre><span class="kd">var</span> <span class="nx">constructPre</span> <span class="o">=</span> <span class="kd">function</span> <span class="nx">_constructPre</span><span class="p">(</span><span class="nx">f</span><span class="p">,</span> <span class="nx">pre</span><span class="p">)</span> <span class="p">{</span>
<span class="k">return</span> <span class="kd">function</span> <span class="nx">_wrapped</span><span class="p">()</span> <span class="p">{</span>
<span class="nx">pre</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
View
@@ -3,6 +3,6 @@
<meta http-equiv="Refresh" content="0; url=http://raynos.github.com/contract/docs/contract.html" />
</head>
<body>
-<p><a href="http://raynos.github.com/vows-is/docs/vows-is.html">Go to the documentation.</a></p>
+<p><a href="http://raynos.github.com/contract/docs/contract.html">Go to the documentation.</a></p>
</body>
</html>
View
@@ -1,4 +1,4 @@
-// # [Github Repo](https://github.com/Raynos/contract)
+// ## [Github Repo](https://github.com/Raynos/contract)
// A method that generates a function which will wrap the function `f` and
// call the pre condition with (arg1, arg2, ...)

0 comments on commit fe29e75

Please sign in to comment.