Quick update for anyone running DocPad and the TagCloud plugin.
When I updated DocPad tonight, the TagCloud plugin stopped working.
Long story short, I’m guessing something has changed that now requires
an explicit reference to the docpad object that was implicit before.
I’m a noob at DocPad and beyond a nood at CoffeeScript, but it wasn’t
too difficult to track down the problem and fix it.
I’ve issued a pull request on the TagCloud project, but I can give you
a hack fix here to hold you until the plugin is updated.
In your project’s directory navigate to
and edit tagcloud.plugin.js.
Find the following code:
docpad = this.docpad; right after
config = this.getConfig();
That will give you this:
Once you make that change, you should be back in business.
Of course the actual fix will have to come from the plugin’s author,
but as I said, I’ve issued a pull request.
The CoffeeScript code is of course similar, but all CoffeeScriptee.
docpad = @docpad
Hope this helps.