all.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. (function () {
  2. var PLAY_SAMPLES = [
  3. {
  4. chapter: 'Creating the editor',
  5. name: 'Hello world!',
  6. id: 'creating-the-editor-hello-world',
  7. path: 'creating-the-editor/hello-world'
  8. },
  9. {
  10. chapter: 'Creating the editor',
  11. name: 'Editor basic options',
  12. id: 'creating-the-editor-editor-basic-options',
  13. path: 'creating-the-editor/editor-basic-options'
  14. },
  15. {
  16. chapter: 'Creating the editor',
  17. name: 'Hard wrapping',
  18. id: 'creating-the-editor-hard-wrapping',
  19. path: 'creating-the-editor/hard-wrapping'
  20. },
  21. {
  22. chapter: 'Creating the editor',
  23. name: 'Syntax highlighting for HTML elements',
  24. id: 'creating-the-editor-syntax-highlighting-for-html-elements',
  25. path: 'creating-the-editor/syntax-highlighting-for-html-elements'
  26. },
  27. {
  28. chapter: 'Interacting with the editor',
  29. name: 'Adding a command to an editor instance',
  30. id: 'interacting-with-the-editor-adding-a-command-to-an-editor-instance',
  31. path: 'interacting-with-the-editor/adding-a-command-to-an-editor-instance'
  32. },
  33. {
  34. chapter: 'Interacting with the editor',
  35. name: 'Adding an action to an editor instance',
  36. id: 'interacting-with-the-editor-adding-an-action-to-an-editor-instance',
  37. path: 'interacting-with-the-editor/adding-an-action-to-an-editor-instance'
  38. },
  39. {
  40. chapter: 'Interacting with the editor',
  41. name: 'Revealing a position',
  42. id: 'interacting-with-the-editor-revealing-a-position',
  43. path: 'interacting-with-the-editor/revealing-a-position'
  44. },
  45. {
  46. chapter: 'Interacting with the editor',
  47. name: 'Rendering glyphs in the margin',
  48. id: 'interacting-with-the-editor-rendering-glyphs-in-the-margin',
  49. path: 'interacting-with-the-editor/rendering-glyphs-in-the-margin'
  50. },
  51. {
  52. chapter: 'Interacting with the editor',
  53. name: 'Line and Inline decorations',
  54. id: 'interacting-with-the-editor-line-and-inline-decorations',
  55. path: 'interacting-with-the-editor/line-and-inline-decorations'
  56. },
  57. {
  58. chapter: 'Interacting with the editor',
  59. name: 'Customizing the line numbers',
  60. id: 'interacting-with-the-editor-customizing-the-line-numbers',
  61. path: 'interacting-with-the-editor/customizing-the-line-numbers'
  62. },
  63. {
  64. chapter: 'Interacting with the editor',
  65. name: 'Listening to mouse events',
  66. id: 'interacting-with-the-editor-listening-to-mouse-events',
  67. path: 'interacting-with-the-editor/listening-to-mouse-events'
  68. },
  69. {
  70. chapter: 'Interacting with the editor',
  71. name: 'Listening to key events',
  72. id: 'interacting-with-the-editor-listening-to-key-events',
  73. path: 'interacting-with-the-editor/listening-to-key-events'
  74. },
  75. {
  76. chapter: 'Customizing the appearence',
  77. name: 'Exposed colors',
  78. id: 'customizing-the-appearence-exposed-colors',
  79. path: 'customizing-the-appearence/exposed-colors'
  80. },
  81. {
  82. chapter: 'Customizing the appearence',
  83. name: 'Scrollbars',
  84. id: 'customizing-the-appearence-scrollbars',
  85. path: 'customizing-the-appearence/scrollbars'
  86. },
  87. {
  88. chapter: 'Customizing the appearence',
  89. name: 'Tokens and colors',
  90. id: 'customizing-the-appearence-tokens-and-colors',
  91. path: 'customizing-the-appearence/tokens-and-colors'
  92. },
  93. {
  94. chapter: 'Creating the DiffEditor',
  95. name: 'Hello diff world!',
  96. id: 'creating-the-diffeditor-hello-diff-world',
  97. path: 'creating-the-diffeditor/hello-diff-world'
  98. },
  99. {
  100. chapter: 'Creating the DiffEditor',
  101. name: 'Multi-line example',
  102. id: 'creating-the-diffeditor-multi-line-example',
  103. path: 'creating-the-diffeditor/multi-line-example'
  104. },
  105. {
  106. chapter: 'Creating the DiffEditor',
  107. name: 'Inline Diff Example',
  108. id: 'creating-the-diffeditor-inline-diff-example',
  109. path: 'creating-the-diffeditor/inline-diff-example'
  110. },
  111. {
  112. chapter: 'Creating the DiffEditor',
  113. name: 'Navigating a Diff',
  114. id: 'creating-the-diffeditor-navigating-a-diff',
  115. path: 'creating-the-diffeditor/navigating-a-diff'
  116. },
  117. {
  118. chapter: 'Extending Language Services',
  119. name: 'Custom languages',
  120. id: 'extending-language-services-custom-languages',
  121. path: 'extending-language-services/custom-languages'
  122. },
  123. {
  124. chapter: 'Extending Language Services',
  125. name: 'Completion provider example',
  126. id: 'extending-language-services-completion-provider-example',
  127. path: 'extending-language-services/completion-provider-example'
  128. },
  129. {
  130. chapter: 'Extending Language Services',
  131. name: 'Codelens provider example',
  132. id: 'extending-language-services-codelens-provider-example',
  133. path: 'extending-language-services/codelens-provider-example'
  134. },
  135. {
  136. chapter: 'Extending Language Services',
  137. name: 'Color provider example',
  138. id: 'extending-language-services-color-provider-example',
  139. path: 'extending-language-services/color-provider-example'
  140. },
  141. {
  142. chapter: 'Extending Language Services',
  143. name: 'Symbols provider example',
  144. id: 'extending-language-services-symbols-provider-example',
  145. path: 'extending-language-services/symbols-provider-example'
  146. },
  147. {
  148. chapter: 'Extending Language Services',
  149. name: 'Folding provider example',
  150. id: 'extending-language-services-folding-provider-example',
  151. path: 'extending-language-services/folding-provider-example'
  152. },
  153. {
  154. chapter: 'Extending Language Services',
  155. name: 'Hover provider example',
  156. id: 'extending-language-services-hover-provider-example',
  157. path: 'extending-language-services/hover-provider-example'
  158. },
  159. {
  160. chapter: 'Extending Language Services',
  161. name: 'Semantic tokens provider example',
  162. id: 'extending-language-services-semantic-tokens-provider-example',
  163. path: 'extending-language-services/semantic-tokens-provider-example'
  164. },
  165. {
  166. chapter: 'Extending Language Services',
  167. name: 'Configure JavaScript defaults',
  168. id: 'extending-language-services-configure-javascript-defaults',
  169. path: 'extending-language-services/configure-javascript-defaults'
  170. },
  171. {
  172. chapter: 'Extending Language Services',
  173. name: 'Configure JSON defaults',
  174. id: 'extending-language-services-configure-json-defaults',
  175. path: 'extending-language-services/configure-json-defaults'
  176. }
  177. ];
  178. if (typeof exports !== 'undefined') {
  179. exports.PLAY_SAMPLES = PLAY_SAMPLES;
  180. } else {
  181. self.PLAY_SAMPLES = PLAY_SAMPLES;
  182. }
  183. })();