Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rebuilt docs

  • Loading branch information...
commit 41c3aad88b324bd4ebe45beb1bb94b621810ad44 1 parent b1e0d77
akdubya authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.html
View
6 index.html
@@ -800,7 +800,7 @@
<p>When looking up a key, Dust searches the context stack from the bottom up. There is no need to merge helper functions into the template data; instead, create a base context onto which you can push your local template data:</p>
<pre><code>// Set up a base context with global helpers
-var base = dust.Context.base({
+var base = dust.makeBase({
sayHello: function() { return "Hello!" }
});
@@ -959,10 +959,10 @@
<h4>Contexts</h4>
-<pre><code>dust.Context.base(object)
+<pre><code>dust.makeBase(object)
</code></pre>
-<p>Manufactures a <code>dust.Context</code> instance, with its global object set to <code>object</code>.</p>
+<p>Manufactures a <code>dust.Context</code> instance with its global object set to <code>object</code>.</p>
<pre><code>context.get(key)
</code></pre>
Please sign in to comment.
Something went wrong with that request. Please try again.