{"action":"created","issue":{"url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/7","labels_url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/7/comments","events_url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/7/events","html_url":"https://github.com/documentationjs/gulp-documentation/issues/7","id":109223660,"number":7,"title":"Documentation generation order throws unexpected error.","user":{"login":"silviogreuel","id":3980096,"avatar_url":"https://avatars.githubusercontent.com/u/3980096?v=3","gravatar_id":"","url":"https://api.github.com/users/silviogreuel","html_url":"https://github.com/silviogreuel","followers_url":"https://api.github.com/users/silviogreuel/followers","following_url":"https://api.github.com/users/silviogreuel/following{/other_user}","gists_url":"https://api.github.com/users/silviogreuel/gists{/gist_id}","starred_url":"https://api.github.com/users/silviogreuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silviogreuel/subscriptions","organizations_url":"https://api.github.com/users/silviogreuel/orgs","repos_url":"https://api.github.com/users/silviogreuel/repos","events_url":"https://api.github.com/users/silviogreuel/events{/privacy}","received_events_url":"https://api.github.com/users/silviogreuel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T03:34:47Z","updated_at":"2015-11-03T04:19:36Z","closed_at":null,"body":"Given default example,\r\nbut changing doc generation order,\r\nHTML before MARKDOWN,\r\n~~~~\r\nvar documentation = require('documentation'),\r\n    gulp = require('gulp');\r\n \r\ngulp.task('documentation', function () {\r\n gulp.src('./index.js')\r\n    .pipe(documentation({ format: 'html' }))\r\n    .pipe(gulp.dest('html-documentation'));\r\n \r\n  gulp.src('./index.js')\r\n    .pipe(documentation({ format: 'md' }))\r\n    .pipe(gulp.dest('md-documentation'));\r\n   \r\n  gulp.src('./index.js')\r\n    .pipe(documentation({ format: 'json' }))\r\n    .pipe(gulp.dest('json-documentation'));\r\n \r\n});\r\n~~~~\r\n\r\nCauses unexpected error\r\n~~~~\r\n......project/node_modules/gulp-documentation/node_modules/documentation/streams/output/markdown.js:55\r\n  if (!this.params) return '';\r\n           ^\r\nTypeError: Cannot read property 'params' of undefined\r\n    at formatParameters (......project/node_modules/gulp-documentation/node_modules/documentation/streams/output/markdown.js:55:12)\r\n    at Object.<anonymous> (......project/node_modules/gulp-documentation/node_modules/documentation/streams/output/markdown.js:87:38)\r\n    at Object.eval (eval at createFunctionContext (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:221:23), <anonymous>:14:229)\r\n    at ret (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)\r\n    at ret (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)\r\n    at Object.invokePartial (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/runtime.js:218:12)\r\n    at Object.invokePartialWrapper [as invokePartial] (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/runtime.js:61:39)\r\n    at Object.eval (eval at createFunctionContext (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:221:23), <anonymous>:5:26)\r\n    at prog (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)\r\n    at execIteration (......project/node_modules/gulp-documentation/node_modules/documentation/node_modules/handlebars/dist/cjs/handlebars/base.js:155:19)\r\n~~~~"},"comment":{"url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/comments/153235072","html_url":"https://github.com/documentationjs/gulp-documentation/issues/7#issuecomment-153235072","issue_url":"https://api.github.com/repos/documentationjs/gulp-documentation/issues/7","id":153235072,"user":{"login":"silviogreuel","id":3980096,"avatar_url":"https://avatars.githubusercontent.com/u/3980096?v=3","gravatar_id":"","url":"https://api.github.com/users/silviogreuel","html_url":"https://github.com/silviogreuel","followers_url":"https://api.github.com/users/silviogreuel/followers","following_url":"https://api.github.com/users/silviogreuel/following{/other_user}","gists_url":"https://api.github.com/users/silviogreuel/gists{/gist_id}","starred_url":"https://api.github.com/users/silviogreuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silviogreuel/subscriptions","organizations_url":"https://api.github.com/users/silviogreuel/orgs","repos_url":"https://api.github.com/users/silviogreuel/repos","events_url":"https://api.github.com/users/silviogreuel/events{/privacy}","received_events_url":"https://api.github.com/users/silviogreuel/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T04:19:36Z","updated_at":"2015-11-03T04:19:36Z","body":"@tmcw all of my 5 projects tested and working on 2.0.0, gw..."}}