Idea of documenting js code inspired by python and EcmaScript 5 "strict mode"; Works on narwhal, firefox, chromium, safari (not tested on ie)
Below is the example of usage in this in the the shell
gozala@ijarti:~/Projects/meta-doc (master)$ narwhal Rhino 1.7 release 3 PRERELEASE 2009 04 05 js> require("meta-doc/toolkit").doc() toolkit module provides utilities for getting a live docs @type module js> typeof require("/Users/gozala/Projects/meta-doc/examples/functions.js").example function js> require("/Users/gozala/Projects/meta-doc/examples/functions.js").example.doc() This is a function foo which is supposed to do something. But the best thing is that it has nice documentation in it. @param {String} a first argument @param {String} b second argument @returns {String} Concatinated string literal js> require.doc() Not documented js>