Commit graph

16 commits

Author SHA1 Message Date
Mike Greiling
dbf4d80c32 move check for preview loading class to top of method 2016-12-27 16:30:55 -06:00
Mike Greiling
8c1f287cb7 remove preview markdown ajax trigger on textarea blur 2016-12-27 16:23:57 -06:00
Mike Greiling
aa1c3ab227 fix some more eslint rules 2016-12-27 14:12:15 -06:00
Mike Greiling
75ef84df95 fix some eslint rules 2016-12-27 14:11:38 -06:00
Mike Greiling
948fd40ccd add loading class to preview element and check it to prevent multiple ajax requests 2016-12-27 14:09:40 -06:00
Mike Greiling
2b6f6e7b65 rename renderMarkdown to fetchMarkdownPreview to be less misleading 2016-12-27 14:09:08 -06:00
Mike Greiling
de427dc589 use $ sign to make it clear when dealing with jQuery object 2016-12-27 14:09:08 -06:00
Mike Greiling
4f8087d62b refactor _this usage into proper function binding 2016-12-27 14:08:40 -06:00
Mike Greiling
a6ed18cc71 remove superfluous return statements generated by coffeescript 2016-12-27 14:07:52 -06:00
Sean McGivern
4d1f583712 Merge branch 'katex-math' into 'master'
Render math in Asciidoc and Markdown with KaTeX using code blocks

Closes #13690 and #13180

See merge request !8003
2016-12-15 14:11:38 +00:00
Munken
2d170a20dc Render math in Asciidoc and Markdown with KaTeX using code blocks 2016-12-14 16:50:54 +00:00
Mike Greiling
8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
winniehell
02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Jared Deckard
7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Christopher Bartz
ecb3f1eb6c Rename markdown_preview routes to preview_markdown 2016-08-11 15:54:18 +02:00
Renamed from app/assets/javascripts/markdown_preview.js (Browse further)