diff options
author | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
commit | 03ca7a5ed13c25faaa9100bb666e062fd15335e6 (patch) | |
tree | c51112223ceb9121cd595a60335eb2795215590f /imports/codemirror/mode/ntriples/index.html | |
parent | fcb12cc09eb3cd3b42bd215877ba18f449275b75 (diff) | |
parent | 053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff) | |
download | ninja-03ca7a5ed13c25faaa9100bb666e062fd15335e6.tar.gz |
Merge branch 'pentool' into brushtool
Conflicts:
imports/codemirror/mode/scheme/scheme.js
js/tools/BrushTool.js
Diffstat (limited to 'imports/codemirror/mode/ntriples/index.html')
-rwxr-xr-x | imports/codemirror/mode/ntriples/index.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/imports/codemirror/mode/ntriples/index.html b/imports/codemirror/mode/ntriples/index.html new file mode 100755 index 00000000..08d33bab --- /dev/null +++ b/imports/codemirror/mode/ntriples/index.html | |||
@@ -0,0 +1,32 @@ | |||
1 | <!doctype html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>CodeMirror: NTriples mode</title> | ||
5 | <link rel="stylesheet" href="../../lib/codemirror.css"> | ||
6 | <script src="../../lib/codemirror.js"></script> | ||
7 | <script src="ntriples.js"></script> | ||
8 | <link rel="stylesheet" href="../../doc/docs.css"> | ||
9 | <style type="text/css"> | ||
10 | .CodeMirror { | ||
11 | border: 1px solid #eee; | ||
12 | } | ||
13 | </style> | ||
14 | </head> | ||
15 | <body> | ||
16 | <h1>CodeMirror: NTriples mode</h1> | ||
17 | <form> | ||
18 | <textarea id="ntriples" name="ntriples"> | ||
19 | <http://Sub1> <http://pred1> <http://obj> . | ||
20 | <http://Sub2> <http://pred2#an2> "literal 1" . | ||
21 | <http://Sub3#an3> <http://pred3> _:bnode3 . | ||
22 | _:bnode4 <http://pred4> "literal 2"@lang . | ||
23 | _:bnode5 <http://pred5> "literal 3"^^<http://type> . | ||
24 | </textarea> | ||
25 | </form> | ||
26 | |||
27 | <script> | ||
28 | var editor = CodeMirror.fromTextArea(document.getElementById("ntriples"), {}); | ||
29 | </script> | ||
30 | <p><strong>MIME types defined:</strong> <code>text/n-triples</code>.</p> | ||
31 | </body> | ||
32 | </html> | ||