jupiterjs/documentjs — Issue #17: First step of documentation throws error
Author: smt
Created: 2012-01-30 18:40:24+00:00
State: open

As described in the [docs](http://javascriptmvc.com/docs.html#!DocumentJS), I created a `crm` directory with a `crm.js` file containing the following:

```javascript
/*
* @page index CRM
* @tag home
*
* ###Little CRM
*
* Our little CRM only has two classes:
*
* * Customer
* * Order
*/
```

Here is a screenshot of the results of my running the command `documentjs/doc crm`.

![documentjs-3.2.2/documentjs/../documentjs/documentjs.js", line 437: uncaught JavaScript runtime exception: TypeError: org.mozilla.javascript.Undefined@624b035d is not a function, it is undefined.](http://dl.dropbox.com/u/1832035/documentjs-bug.png)

The scripts appear to be processed, and the JSON files are generated in `crm/doc`, but `crm/docs.html` is never created.

I'm using a fresh download of DocumentJS 3.2.2 on Mac OS X 10.7.2