Skip to content

Commit e3d27e0

Browse files
committed
Fix broken templates
1 parent dcaae36 commit e3d27e0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docco.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docco.litcoffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ In this case, it is also neccessary to explicitly specify a stylesheet file.
253253
These custom templates are compiled exactly like the predefined ones, but the `public` folder
254254
is only copied for the latter.
255255

256-
if options.template
257-
unless options.css
256+
if config.template
257+
unless config.css
258258
console.warn "docco: no stylesheet file specified"
259259
config.layout = null
260260
else

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ <h2 id="configuration">Configuration</h2>
309309
is only copied for the latter.</p>
310310

311311

312-
<div class='highlight'><pre> <span class="hljs-keyword">if</span> options.template
313-
<span class="hljs-keyword">unless</span> options.css
312+
<div class='highlight'><pre> <span class="hljs-keyword">if</span> config.template
313+
<span class="hljs-keyword">unless</span> config.css
314314
console.warn <span class="hljs-string">&quot;docco: no stylesheet file specified&quot;</span>
315315
config.layout = <span class="hljs-literal">null</span>
316316
<span class="hljs-keyword">else</span>

0 commit comments

Comments
 (0)