{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/markdown-preview/issues/176","labels_url":"https://api.github.com/repos/atom/markdown-preview/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/atom/markdown-preview/issues/176/comments","events_url":"https://api.github.com/repos/atom/markdown-preview/issues/176/events","html_url":"https://github.com/atom/markdown-preview/issues/176","id":55077842,"number":176,"title":"Uncaught TypeError: undefined is not a function","user":{"login":"akah","id":8410210,"avatar_url":"https://avatars.githubusercontent.com/u/8410210?v=3","gravatar_id":"","url":"https://api.github.com/users/akah","html_url":"https://github.com/akah","followers_url":"https://api.github.com/users/akah/followers","following_url":"https://api.github.com/users/akah/following{/other_user}","gists_url":"https://api.github.com/users/akah/gists{/gist_id}","starred_url":"https://api.github.com/users/akah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akah/subscriptions","organizations_url":"https://api.github.com/users/akah/orgs","repos_url":"https://api.github.com/users/akah/repos","events_url":"https://api.github.com/users/akah/events{/privacy}","received_events_url":"https://api.github.com/users/akah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T21:13:28Z","updated_at":"2015-01-21T21:13:28Z","closed_at":null,"body":"Uncaught TypeError: undefined is not a function\r\n\r\n**Atom Version**: 0.175.0\r\n**System**: Mac OS X 10.10.1\r\n**Thrown From**: [markdown-preview](https://github.com/atom/markdown-preview) package\r\n\r\n## Steps to reproduce\r\n\r\n1. Open Markdown Cheatsheet (markdown.md) from [Assemble](http://assemble.io/docs/Cheatsheet-Markdown.html) in Atom\r\n1. Hit `ctrl-shift-M` for Markdown Preview\r\n1. Error thrown\r\n\r\n```\r\n/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:145\r\n\r\nTypeError: undefined is not a function\r\n  at convertCodeBlocksToAtomEditors (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:145:47)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:41:7\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:80:16\r\n  at module.exports (/Applications/Atom.app/Contents/Resources/app/node_modules/roaster/lib/roaster.js:66:14)\r\n  at render (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:73:12)\r\n  at Object.exports.toDOMFragment (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/renderer.js:30:12)\r\n  at MarkdownPreviewView.module.exports.MarkdownPreviewView.renderMarkdownText (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:258:23)\r\n  at MarkdownPreviewView.module.exports.MarkdownPreviewView.renderMarkdown (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:253:21)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:108:26\r\n  at MarkdownPreviewView.module.exports.MarkdownPreviewView.resolveEditor (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:115:16)\r\n  at MarkdownPreviewView.module.exports.MarkdownPreviewView.attached (/Applications/Atom.app/Contents/Resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:45:21)\r\n  at space-pen-div.View.element.attached (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:164:63)\r\n  at space-pen-div.CustomElementPrototype.attachedCallback (/Users/Kier/.atom/packages/linter/node_modules/space-pen/lib/space-pen.js:51:55)\r\n  at atom-pane.PaneElement.activeItemChanged (/Applications/Atom.app/Contents/Resources/app/src/pane-element.js:110:24)\r\n  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:82:11)\r\n  at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:264:22)\r\n  at Pane.module.exports.Pane.addItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:353:14)\r\n  at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:327:14)\r\n  at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:524:16\r\n  at _fulfilled (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:787:54)\r\n  at self.promiseDispatch.done (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:816:30)\r\n  at Promise.promise.promiseDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:749:13)\r\n  at /Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:810:14\r\n  at flush (/Applications/Atom.app/Contents/Resources/app/node_modules/pathwatcher/node_modules/q/q.js:108:17)\r\n  at process._tickCallback (node.js:386:11)\r\n\r\n```"}}