X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/1be1a83342d1e5f9f474f2f4ca76cf1caff8650a..39db69eec92d5d39c6ba0d04223dd8d18bef339d:/README.md 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 ====