{"action":"created","issue":{"url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/24","repository_url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc","labels_url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/24/comments","events_url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/24/events","html_url":"https://github.com/tgandrews/atom-easy-jsdoc/issues/24","id":151779917,"number":24,"title":"Uncaught SyntaxError: Unexpected character '#' (1:0)","user":{"login":"skarfacegc","id":1668735,"avatar_url":"https://avatars.githubusercontent.com/u/1668735?v=3","gravatar_id":"","url":"https://api.github.com/users/skarfacegc","html_url":"https://github.com/skarfacegc","followers_url":"https://api.github.com/users/skarfacegc/followers","following_url":"https://api.github.com/users/skarfacegc/following{/other_user}","gists_url":"https://api.github.com/users/skarfacegc/gists{/gist_id}","starred_url":"https://api.github.com/users/skarfacegc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skarfacegc/subscriptions","organizations_url":"https://api.github.com/users/skarfacegc/orgs","repos_url":"https://api.github.com/users/skarfacegc/repos","events_url":"https://api.github.com/users/skarfacegc/events{/privacy}","received_events_url":"https://api.github.com/users/skarfacegc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-29T01:59:22Z","updated_at":"2016-05-25T20:21:49Z","closed_at":"2016-05-18T10:50:13Z","body":"[Enter steps to reproduce below:]\r\n\r\nput cursor before:\r\n\r\n`function main()`\r\n\r\nand ran jsdoc block\r\n\r\n**Atom Version**: 1.7.3\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [atom-easy-jsdoc](https://github.com/tgandrews/atom-easy-jsdoc) package, v4.5.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught SyntaxError: Unexpected character '#' (1:0)\r\n\r\n```\r\nAt /Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:922\r\n\r\nSyntaxError: Unexpected character '#' (1:0)\r\n    at Parser.pp.raise (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:920:13)\r\n    at Parser.pp.getTokenFromCode (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:2813:8)\r\n    at Parser.pp.readToken (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:2508:15)\r\n    at Parser.pp.nextToken (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:2500:71)\r\n    at Parser.parse (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:1615:10)\r\n    at Object.parse (/Users/andrew/.atom/packages/atom-easy-jsdoc/node_modules/acorn/dist/acorn.js:882:44)\r\n    at getNode (/Users/andrew/.atom/packages/atom-easy-jsdoc/lib/jsdocer.js:207:21)\r\n    at comment (/Users/andrew/.atom/packages/atom-easy-jsdoc/lib/jsdocer.js:273:16)\r\n    at createComment (/Users/andrew/.atom/packages/atom-easy-jsdoc/lib/index.js:23:29)\r\n    at atom-text-editor.jsdocBlock (/Users/andrew/.atom/packages/atom-easy-jsdoc/lib/index.js:52:9)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n    at /opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)\r\n    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)\r\n    at space-pen-div.atom.commands.add.core:confirm (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n    at /opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)\r\n    at HTMLDocument.<anonymous> (/opt/homebrew-cask/Caskroom/atom/1.5.3/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -2:11.3.0 jsdoc-generator:out (atom-text-editor.editor)\r\n     -2:00.7.0 open-in-browser:open-tree-view (span.name.icon.icon-file-text)\r\n     -1:34.8.0 core:save (atom-text-editor.editor.is-focused)\r\n     -1:20.9.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -1:19 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -1:19 jsdoc:block (atom-text-editor.editor)\r\n     -0:28 core:move-right (atom-text-editor.editor.is-focused)\r\n     -0:27.4.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)\r\n  2x -0:26.9.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  2x -0:25 core:save (atom-text-editor.editor.is-focused)\r\n     -0:10 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:08.8.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:04.2.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:03.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)\r\n     -0:01.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n     -0:01.4.0 jsdoc:block (atom-text-editor.editor)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"projectHome\": \"/Users/andrew/Development\",\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"solarized-dark-syntax\"\r\n    ]\r\n  },\r\n  \"atom-easy-jsdoc\": {\r\n    \"beta\": true,\r\n    \"useReturns\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.29.7\r\natom-easy-jsdoc, v4.5.0\r\natom-sync, v0.7.3\r\nfile-icons, v1.7.8\r\nfonts, v1.2.0\r\nhighlight-line, v0.11.1\r\nhighlight-selected, v0.11.2\r\nimdone-atom, v1.3.29\r\nimdone-atom-github, v0.1.11\r\njsdoc-generator, v0.2.3\r\nlinter, v1.11.4\r\nlinter-eslint, v7.2.1\r\nminimap, v4.23.2\r\nmocha-test-runner, v0.4.7\r\nnode_modules, vundefined\r\nopen-in-browser, v0.4.7\r\nremote-edit, v1.8.24\r\nsync-settings, v0.7.2\r\nterminal-plus, v0.14.5\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/comments/221695287","html_url":"https://github.com/tgandrews/atom-easy-jsdoc/issues/24#issuecomment-221695287","issue_url":"https://api.github.com/repos/tgandrews/atom-easy-jsdoc/issues/24","id":221695287,"user":{"login":"jbree","id":6645643,"avatar_url":"https://avatars.githubusercontent.com/u/6645643?v=3","gravatar_id":"","url":"https://api.github.com/users/jbree","html_url":"https://github.com/jbree","followers_url":"https://api.github.com/users/jbree/followers","following_url":"https://api.github.com/users/jbree/following{/other_user}","gists_url":"https://api.github.com/users/jbree/gists{/gist_id}","starred_url":"https://api.github.com/users/jbree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbree/subscriptions","organizations_url":"https://api.github.com/users/jbree/orgs","repos_url":"https://api.github.com/users/jbree/repos","events_url":"https://api.github.com/users/jbree/events{/privacy}","received_events_url":"https://api.github.com/users/jbree/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T20:21:49Z","updated_at":"2016-05-25T20:21:49Z","body":"Thanks for the response, no worries!"}}
{"actor":{"display_login":"jbree"}}