From: Dmitry Gutov Date: Sun, 13 Feb 2011 00:11:01 +0000 (+0300) Subject: Update README X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/39db69eec92d5d39c6ba0d04223dd8d18bef339d Update README --- diff --git a/README.md b/README.md index 780a1e694..4fb31d967 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,32 @@ Proper position for functions in nested object literals: }, } +Imenu support for nested named functions +---------------------------------------- + +Supports one level of nesting: + + function foo() { + function bar() { // shown as foo.bar + function baz() {} // hidden + } + } + +Top-level function can be anonymous wrapper: + + (function() { + var foo = function() {}; // shown as foo + })(); + +Examples of output: + +* [Underscore.js](https://github.com/documentcloud/underscore/blob/master/underscore.js) +-> +* [Backbone.js](https://github.com/documentcloud/backbone/blob/master/backbone.js) +-> + +No support for library-specific extension methods, though, like _.extend. + Bugs ====