diff --git a/docco.js b/docco.js index 6c9aceac..606e9076 100644 --- a/docco.js +++ b/docco.js @@ -1,4 +1,4 @@ -// Generated by CoffeeScript 2.6.1 +// Generated by CoffeeScript 2.7.0 (function() { // Docco // ===== @@ -285,8 +285,8 @@ // In this case, it is also neccessary to explicitly specify a stylesheet file. // These custom templates are compiled exactly like the predefined ones, but the `public` folder // is only copied for the latter. - if (options.template) { - if (!options.css) { + if (config.template) { + if (!config.css) { console.warn("docco: no stylesheet file specified"); } config.layout = null; diff --git a/docco.litcoffee b/docco.litcoffee index 7c43a8d4..95750b7d 100644 --- a/docco.litcoffee +++ b/docco.litcoffee @@ -253,8 +253,8 @@ In this case, it is also neccessary to explicitly specify a stylesheet file. These custom templates are compiled exactly like the predefined ones, but the `public` folder is only copied for the latter. - if options.template - unless options.css + if config.template + unless config.css console.warn "docco: no stylesheet file specified" config.layout = null else diff --git a/index.html b/index.html index e255c54e..5fb9d4d2 100644 --- a/index.html +++ b/index.html @@ -309,8 +309,8 @@
if options.template
- unless options.css
+ if config.template
+ unless config.css
console.warn "docco: no stylesheet file specified"
config.layout = null
else