aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode/vbscript/index.html
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-03 17:09:07 -0700
committerNivesh Rajbhandari2012-05-03 17:09:07 -0700
commit8be6e94b57f4bd6e28754a6113b4d6a401365e13 (patch)
tree19f48f969ab872b9ef46cc4e7d6c2b9d2544cd4d /imports/codemirror/mode/vbscript/index.html
parentc14b8d9fd1acde98ffc427b0bbdba7d1442c39a4 (diff)
parentfec9ccee11ea21ffc95edce6e89d0d302b63e3d8 (diff)
downloadninja-8be6e94b57f4bd6e28754a6113b4d6a401365e13.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLFixes
Diffstat (limited to 'imports/codemirror/mode/vbscript/index.html')
-rw-r--r--imports/codemirror/mode/vbscript/index.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/imports/codemirror/mode/vbscript/index.html b/imports/codemirror/mode/vbscript/index.html
new file mode 100644
index 00000000..dd207cae
--- /dev/null
+++ b/imports/codemirror/mode/vbscript/index.html
@@ -0,0 +1,42 @@
1<!doctype html>
2<html>
3 <head>
4 <title>CodeMirror: VBScript mode</title>
5 <link rel="stylesheet" href="../../lib/codemirror.css">
6 <script src="../../lib/codemirror.js"></script>
7 <script src="vbscript.js"></script>
8 <link rel="stylesheet" href="../../doc/docs.css">
9 <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
10 </head>
11 <body>
12 <h1>CodeMirror: VBScript mode</h1>
13
14<div><textarea id="code" name="code">
15' Pete Guhl
16' 03-04-2012
17'
18' Basic VBScript support for codemirror2
19
20Const ForReading = 1, ForWriting = 2, ForAppending = 8
21
22Call Sub020_PostBroadcastToUrbanAirship(strUserName, strPassword, intTransmitID, strResponse)
23
24If Not IsNull(strResponse) AND Len(strResponse) = 0 Then
25 boolTransmitOkYN = False
26Else
27 ' WScript.Echo "Oh Happy Day! Oh Happy DAY!"
28 boolTransmitOkYN = True
29End If
30</textarea></div>
31
32 <script>
33 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
34 lineNumbers: true,
35 matchBrackets: true
36 });
37 </script>
38
39 <p><strong>MIME types defined:</strong> <code>text/vbscript</code>.</p>
40 </body>
41</html>
42