?
Path : /home/admin/public_html/old/media/editors/codemirror/mode/gfm/ |
Current File : /home/admin/public_html/old/media/editors/codemirror/mode/gfm/test.min.js |
!function(){function o(o){test.mode(o,t,Array.prototype.slice.call(arguments,1))}function e(o){test.mode(o,r,Array.prototype.slice.call(arguments,1))}var t=CodeMirror.getMode({tabSize:4},"gfm"),r=CodeMirror.getMode({tabSize:4},{name:"gfm",highlightFormatting:!0});e("codeBackticks","[comment&formatting&formatting-code `][comment foo][comment&formatting&formatting-code `]"),e("doubleBackticks","[comment&formatting&formatting-code ``][comment foo ` bar][comment&formatting&formatting-code ``]"),e("codeBlock","[comment&formatting&formatting-code-block ```css]","[tag foo]","[comment&formatting&formatting-code-block ```]"),e("taskList","[variable-2&formatting&formatting-list&formatting-list-ul - ][meta&formatting&formatting-task [ ]]][variable-2 foo]","[variable-2&formatting&formatting-list&formatting-list-ul - ][property&formatting&formatting-task [x]]][variable-2 foo]"),e("formatting_strikethrough","[strikethrough&formatting&formatting-strikethrough ~~][strikethrough foo][strikethrough&formatting&formatting-strikethrough ~~]"),e("formatting_strikethrough","foo [strikethrough&formatting&formatting-strikethrough ~~][strikethrough bar][strikethrough&formatting&formatting-strikethrough ~~]"),o("emInWordAsterisk","foo[em *bar*]hello"),o("emInWordUnderscore","foo_bar_hello"),o("emStrongUnderscore","[strong __][em&strong _foo__][em _] bar"),o("fencedCodeBlocks","[comment ```]","[comment foo]","","[comment ```]","bar"),o("fencedCodeBlockModeSwitching","[comment ```javascript]","[variable foo]","","[comment ```]","bar"),o("taskListAsterisk","[variable-2 * []] foo]","[variable-2 * [ ]]bar]","[variable-2 * [x]]hello]","[variable-2 * ][meta [ ]]][variable-2 [world]]]"," [variable-3 * ][property [x]]][variable-3 foo]"),o("taskListPlus","[variable-2 + []] foo]","[variable-2 + [ ]]bar]","[variable-2 + [x]]hello]","[variable-2 + ][meta [ ]]][variable-2 [world]]]"," [variable-3 + ][property [x]]][variable-3 foo]"),o("taskListDash","[variable-2 - []] foo]","[variable-2 - [ ]]bar]","[variable-2 - [x]]hello]","[variable-2 - ][meta [ ]]][variable-2 [world]]]"," [variable-3 - ][property [x]]][variable-3 foo]"),o("taskListNumber","[variable-2 1. []] foo]","[variable-2 2. [ ]]bar]","[variable-2 3. [x]]hello]","[variable-2 4. ][meta [ ]]][variable-2 [world]]]"," [variable-3 1. ][property [x]]][variable-3 foo]"),o("SHA","foo [link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] bar"),o("SHAEmphasis","[em *foo ][em&link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]"),o("shortSHA","foo [link be6a8cc] bar"),o("tooShortSHA","foo be6a8c bar"),o("longSHA","foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd22 bar"),o("badSHA","foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cg2 bar"),o("userSHA","foo [link bar@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] hello"),o("userSHAEmphasis","[em *foo ][em&link bar@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]"),o("userProjectSHA","foo [link bar/hello@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] world"),o("userProjectSHAEmphasis","[em *foo ][em&link bar/hello@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2][em *]"),o("num","foo [link #1] bar"),o("numEmphasis","[em *foo ][em&link #1][em *]"),o("badNum","foo #1bar hello"),o("userNum","foo [link bar#1] hello"),o("userNumEmphasis","[em *foo ][em&link bar#1][em *]"),o("userProjectNum","foo [link bar/hello#1] world"),o("userProjectNumEmphasis","[em *foo ][em&link bar/hello#1][em *]"),o("vanillaLink","foo [link http://www.example.com/] bar"),o("vanillaLinkPunctuation","foo [link http://www.example.com/]. bar"),o("vanillaLinkExtension","foo [link http://www.example.com/index.html] bar"),o("vanillaLinkEmphasis","foo [em *][em&link http://www.example.com/index.html][em *] bar"),o("notALink","[comment ```css]","[tag foo] {[property color]:[keyword black];}","[comment ```][link http://www.example.com/]"),o("notALink","[comment ``foo `bar` http://www.example.com/``] hello"),o("notALink","[comment `foo]","[link http://www.example.com/]","[comment `foo]","","[link http://www.example.com/]"),o("headerCodeBlockGithub","[header&header-1 # heading]","","[comment ```]","[comment code]","[comment ```]","","Commit: [link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2]","Issue: [link #1]","Link: [link http://www.example.com/]"),o("strikethrough","[strikethrough ~~foo~~]"),o("strikethroughWithStartingSpace","~~ foo~~"),o("strikethroughUnclosedStrayTildes","[strikethrough ~~foo~~~]"),o("strikethroughUnclosedStrayTildes","[strikethrough ~~foo ~~]"),o("strikethroughUnclosedStrayTildes","[strikethrough ~~foo ~~ bar]"),o("strikethroughUnclosedStrayTildes","[strikethrough ~~foo ~~ bar~~]hello"),o("strikethroughOneLetter","[strikethrough ~~a~~]"),o("strikethroughWrapped","[strikethrough ~~foo]","[strikethrough foo~~]"),o("strikethroughParagraph","[strikethrough ~~foo]","","foo[strikethrough ~~bar]"),o("strikethroughEm","[strikethrough ~~foo][em&strikethrough *bar*][strikethrough ~~]"),o("strikethroughEm","[em *][em&strikethrough ~~foo~~][em *]"),o("strikethroughStrong","[strikethrough ~~][strong&strikethrough **foo**][strikethrough ~~]"),o("strikethroughStrong","[strong **][strong&strikethrough ~~foo~~][strong **]")}();