{"action":"created","issue":{"url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/29","labels_url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/29/comments","events_url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/29/events","html_url":"https://github.com/jsdoc2md/jsdoc-to-markdown/issues/29","id":69464994,"number":29,"title":"Docs missing inside the IIFE ","user":{"login":"tenbits","id":550353,"avatar_url":"https://avatars.githubusercontent.com/u/550353?v=3","gravatar_id":"","url":"https://api.github.com/users/tenbits","html_url":"https://github.com/tenbits","followers_url":"https://api.github.com/users/tenbits/followers","following_url":"https://api.github.com/users/tenbits/following{/other_user}","gists_url":"https://api.github.com/users/tenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/tenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenbits/subscriptions","organizations_url":"https://api.github.com/users/tenbits/orgs","repos_url":"https://api.github.com/users/tenbits/repos","events_url":"https://api.github.com/users/tenbits/events{/privacy}","received_events_url":"https://api.github.com/users/tenbits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-19T21:12:09Z","updated_at":"2015-04-27T12:50:41Z","closed_at":null,"body":"Hi Team, \r\n\r\nis it possible to generate the docs from inside the IIFE. Consider this example\r\n```javascript\r\nvar Foo;\r\n(function(){\r\n    /**\r\n     * @summary I am Foo\r\n     */\r\n    Foo = {\r\n        /**\r\n         * @summary Print 'foo' to logs\r\n         */\r\n        log: function () {\r\n            console.log('foo')\r\n        }\r\n    };\r\n}());\r\n```\r\n```bash\r\njsdoc2md src/foo.js > api.md\r\n```\r\n\r\n`jsdoc2md` generates an empty file. Only the commenting of the lines  2 and the last one (`iife` call) makes the docs to be created. Though `jsdoc-parse` works as expected for both of the variants. \r\n\r\nThanks, Alex"},"comment":{"url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/comments/96638740","html_url":"https://github.com/jsdoc2md/jsdoc-to-markdown/issues/29#issuecomment-96638740","issue_url":"https://api.github.com/repos/jsdoc2md/jsdoc-to-markdown/issues/29","id":96638740,"user":{"login":"tenbits","id":550353,"avatar_url":"https://avatars.githubusercontent.com/u/550353?v=3","gravatar_id":"","url":"https://api.github.com/users/tenbits","html_url":"https://github.com/tenbits","followers_url":"https://api.github.com/users/tenbits/followers","following_url":"https://api.github.com/users/tenbits/following{/other_user}","gists_url":"https://api.github.com/users/tenbits/gists{/gist_id}","starred_url":"https://api.github.com/users/tenbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenbits/subscriptions","organizations_url":"https://api.github.com/users/tenbits/orgs","repos_url":"https://api.github.com/users/tenbits/repos","events_url":"https://api.github.com/users/tenbits/events{/privacy}","received_events_url":"https://api.github.com/users/tenbits/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T12:50:41Z","updated_at":"2015-04-27T12:50:41Z","body":"Oh, it is a pitty to lose things, espaccially all the e-gadgets. But I really hope you have all the backups. May be you also have to consider to change all your sensitive passwords. "}}