Permalink
Browse files

A few tweaks to pull #65.

  • Loading branch information...
1 parent e903ee6 commit ecf2c35247bc4a97482bfa679f62ce9e54395133 @mauricemach committed Aug 20, 2011
Showing with 6 additions and 3 deletions.
  1. +2 −0 CHANGELOG.md
  2. +2 −2 docs/coffeekup.html
  3. +1 −0 package.json
  4. +1 −1 src/coffeekup.coffee
View
@@ -1,5 +1,7 @@
**v0.3.0beta2** (xxxx-xx-xx):
+ - Fixed #64 (`hardcode` option masked in express adapter). [smathy]
+
**v0.3.0beta** (2011-07-27):
- Added documentation: API reference at `/docs/reference.md` and annotated source at `/docs/coffeekup.html`.
View
@@ -245,8 +245,8 @@
<span class="nv">meryl: </span><span class="nx">coffeekup</span><span class="p">.</span><span class="nx">render</span>
</pre></div> </td> </tr> <tr id="section-27"> <td class="docs"> <div class="pilwrap"> <a class="pilcrow" href="#section-27">&#182;</a> </div> <p>Allows <code>partial 'foo'</code> instead of <code>text @partial 'foo'</code>.</p> </td> <td class="code"> <div class="highlight"><pre> <span class="nv">express:</span>
<span class="nv">compile: </span><span class="nf">(template, data) -&gt;</span>
- <span class="nv">data.hardcode =</span>
- <span class="nv">partial: </span><span class="o">-&gt;</span>
+ <span class="nx">data</span><span class="p">.</span><span class="nx">hardcode</span> <span class="o">?=</span> <span class="p">{}</span>
+ <span class="nv">data.hardcode.partial = </span><span class="o">-&gt;</span>
<span class="nx">text</span> <span class="nx">@partial</span><span class="p">.</span><span class="nx">apply</span> <span class="err">@</span><span class="p">,</span> <span class="nx">arguments</span>
<span class="nx">coffeekup</span><span class="p">.</span><span class="nx">compile</span><span class="p">(</span><span class="nx">template</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span>
View
@@ -17,6 +17,7 @@
"James Campos <james.r.campos@gmail.com>",
"Martin Westergaard Lassen <martin@mwl.dk>",
"Esa-Matti Suuronen <esa-matti@suuronen.org>",
+ "Jason King <jasonk@amcoonline.net>",
"Brandon Bloom <brandon@brandonbloom.name>",
"Nicholas Kinsey <nicholas.kinsey@feistystudios.com>"
]
View
@@ -16,7 +16,7 @@ else
coffeekup = exports
coffee = require 'coffee-script'
-coffeekup.version = '0.3.0beta3'
+coffeekup.version = '0.3.0beta2'
# Values available to the `doctype` function inside a template.
# Ex.: `doctype 'strict'`

0 comments on commit ecf2c35

Please sign in to comment.