From 3dcd1c6e4d387d2a36bc96d0e78de639c1a4fd46 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Thu, 9 May 2013 16:54:40 +1000 Subject: [PATCH] v6.34.1. Bugfix. - v6.34.1 May 9, 2013 - Fixed `ReferenceError: docpad is not defined` --- History.md | 5 ++++- package.json | 2 +- src/lib/docpad.coffee | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 6d632b47..ec3f6ba0 100755 --- a/History.md +++ b/History.md @@ -1,8 +1,11 @@ ## History +- v6.34.1 May 9, 2013 + - Fixed `ReferenceError: docpad is not defined` + - v6.34.0 May 8, 2013 - Now uses [envfile](https://github.com/bevry/envfile) for `.env` file parsing - - Fixed `TypeError: Cannot call method 'get' of undefined -> /lib/docpad.js:972` error when using [minicms plugin](https://github.com/jeremyfa/docpad-plugin-minicms) + - Fixed `TypeError: Cannot call method 'get' of undefined` error when using [minicms plugin](https://github.com/jeremyfa/docpad-plugin-minicms) - Closes [issue #501](https://github.com/bevry/docpad/issues/501) reported by [rleite](https://github.com/rleite) - v6.33.0 May 6, 2013 diff --git a/package.json b/package.json index 6a6be590..0daf1fde 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docpad", - "version": "6.34.0", + "version": "6.34.1", "description": "DocPad is a language agnostic document management system. This means you write your website as documents, in whatever language you wish, and DocPad will handle the compiling, templates and layouts for you. For static documents it will generate static files, for dynamic documents it'll re-render them on each request. You can utilise DocPad by itself, or use it as a module your own custom system. It's pretty cool, and well worth checking out. We love it.", "homepage": "https://github.com/bevry/docpad", "installUrl": "http://docpad.org/install", diff --git a/src/lib/docpad.coffee b/src/lib/docpad.coffee index a38be94b..3c0af3f2 100755 --- a/src/lib/docpad.coffee +++ b/src/lib/docpad.coffee @@ -1753,6 +1753,7 @@ class DocPad extends EventEmitterEnhanced # next(err) resetCollections: (next) -> # Prepare + docpad = @ database = @getDatabase() # Update the cached database