Permalink
Browse files

fixed typo

  • Loading branch information...
1 parent b437a31 commit f3601bcabb31c213f921a610c2fa07ea1ca8377b @chrisdew committed Feb 5, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/db.html
  2. +1 −1 lib/db.js
View
2 docs/db.html
@@ -11,7 +11,7 @@
property names. Double underscore is the default.</p> </td> <td class="code"> <div class="highlight"><pre> <span class="k">this</span><span class="p">.</span><span class="nx">magic</span> <span class="o">=</span> <span class="nx">options</span><span class="p">.</span><span class="nx">magic</span> <span class="o">||</span> <span class="s2">&quot;__&quot;</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-5"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-5">&#182;</a> </div> <p><code>uuid</code> is the function used to generate unique IDs for each
managed object. It is overridable for testing purposes, where the IDs
need to be deterministic.</p> </td> <td class="code"> <div class="highlight"><pre> <span class="k">this</span><span class="p">.</span><span class="nx">uuid</span> <span class="o">=</span> <span class="nx">options</span><span class="p">.</span><span class="nx">uuid</span> <span class="o">||</span> <span class="nx">uuid</span><span class="p">;</span></pre></div> </td> </tr> <tr id="section-6"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-6">&#182;</a> </div> <p>The <code>io</code> manager is responsible for IO. By default BarricaneDB
-uses simple disk-nased persistence. The <code>ioManager</code> is
+uses simple disk-based persistence. The <code>io</code> manager is
separated so that it can be optionally replaced with ReplicationIO at
some point in the future.</p> </td> <td class="code"> <div class="highlight"><pre> <span class="k">this</span><span class="p">.</span><span class="nx">io</span> <span class="o">=</span> <span class="nx">options</span><span class="p">.</span><span class="nx">io</span> <span class="o">||</span> <span class="k">new</span> <span class="nx">dio</span><span class="p">.</span><span class="nx">DiskIO</span><span class="p">(</span><span class="nx">options</span><span class="p">);</span></pre></div> </td> </tr> <tr id="section-7"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-7">&#182;</a> </div> <p><code>instances</code> contains all of the <em>managed</em> objects, indexed
by uuid.</p> </td> <td class="code"> <div class="highlight"><pre> <span class="k">this</span><span class="p">.</span><span class="nx">instances</span> <span class="o">=</span> <span class="p">{};</span></pre></div> </td> </tr> <tr id="section-8"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-8">&#182;</a> </div> <p><code>stores</code> contains all of the <em>managed</em> objects' data, indexed
View
2 lib/db.js
@@ -23,7 +23,7 @@ function DB(options) {
// need to be deterministic.
this.uuid = options.uuid || uuid;
// The <code>io</code> manager is responsible for IO. By default BarricaneDB
- // uses simple disk-nased persistence. The <code>ioManager</code> is
+ // uses simple disk-based persistence. The <code>io</code> manager is
// separated so that it can be optionally replaced with ReplicationIO at
// some point in the future.
this.io = options.io || new dio.DiskIO(options);

0 comments on commit f3601bc

Please sign in to comment.