aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode/stex/test.html
diff options
context:
space:
mode:
authorKruti Shah2012-07-17 12:40:00 -0700
committerKruti Shah2012-07-17 12:40:00 -0700
commitbf2d7bdb22c28089dc1067bc9094ebc590daac87 (patch)
tree2156d9920ea1b7db49ed6460545fea7cda121bae /imports/codemirror/mode/stex/test.html
parent7e2c2dbd040ed79a3f0678f91bd4b6db9cf69231 (diff)
parentb4b3e45d6684e77d361b4f8ca5be4889428320c5 (diff)
downloadninja-bf2d7bdb22c28089dc1067bc9094ebc590daac87.tar.gz
Merge branch 'refs/heads/TimelineUberJD' into Timeline-local-kruti
Diffstat (limited to 'imports/codemirror/mode/stex/test.html')
-rw-r--r--imports/codemirror/mode/stex/test.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/imports/codemirror/mode/stex/test.html b/imports/codemirror/mode/stex/test.html
index b53a6a24..a60f4184 100644
--- a/imports/codemirror/mode/stex/test.html
+++ b/imports/codemirror/mode/stex/test.html
@@ -241,6 +241,18 @@
241 241
242 </script> 242 </script>
243 243
244 <h2>New Commands</h2>
245
246 Should be able to define a new command that happens to be a method on Array
247 (e.g. <tt>pop</tt>):
248 <script language="javascript">
249 MT.test('\\newcommand{\\pop}',
250 'tag', '\\newcommand',
251 'bracket', '{',
252 'tag', '\\pop',
253 'bracket', '}');
254 </script>
255
244 <h2>Summary</h2> 256 <h2>Summary</h2>
245 <script language="javascript"> 257 <script language="javascript">
246 MT.printSummary(); 258 MT.printSummary();