diff options
author | Valerio Virgillito | 2012-02-14 11:07:21 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-14 11:07:21 -0800 |
commit | f060190a3bffd9a16718f2ce0499699103d46372 (patch) | |
tree | a308fe7eacec2156c8212dff0892a3de925d5f9a /js/codemirror/mode/sparql/index.html | |
parent | f766cc203f30ea43ae8b83cf4b65d45cc4435ee9 (diff) | |
parent | 33bc9d62b8e6694500bf14d5b18187bd99a520a3 (diff) | |
download | ninja-f060190a3bffd9a16718f2ce0499699103d46372.tar.gz |
Merge branch 'FileIO' of https://github.com/joseeight/ninja-internal into integration
Diffstat (limited to 'js/codemirror/mode/sparql/index.html')
-rw-r--r-- | js/codemirror/mode/sparql/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/js/codemirror/mode/sparql/index.html b/js/codemirror/mode/sparql/index.html deleted file mode 100644 index a0e2f4e0..00000000 --- a/js/codemirror/mode/sparql/index.html +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | <!doctype html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>CodeMirror 2: SPARQL mode</title> | ||
5 | <link rel="stylesheet" href="../../lib/codemirror.css"> | ||
6 | <script src="../../lib/codemirror.js"></script> | ||
7 | <script src="sparql.js"></script> | ||
8 | <link rel="stylesheet" href="../../theme/default.css"> | ||
9 | <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> | ||
10 | <link rel="stylesheet" href="../../css/docs.css"> | ||
11 | </head> | ||
12 | <body> | ||
13 | <h1>CodeMirror 2: SPARQL mode</h1> | ||
14 | <form><textarea id="code" name="code"> | ||
15 | PREFIX a: <http://www.w3.org/2000/10/annotation-ns#> | ||
16 | PREFIX dc: <http://purl.org/dc/elements/1.1/> | ||
17 | PREFIX foaf: <http://xmlns.com/foaf/0.1/> | ||
18 | |||
19 | # Comment! | ||
20 | |||
21 | SELECT ?given ?family | ||
22 | WHERE { | ||
23 | ?annot a:annotates <http://www.w3.org/TR/rdf-sparql-query/> . | ||
24 | ?annot dc:creator ?c . | ||
25 | OPTIONAL {?c foaf:given ?given ; | ||
26 | foaf:family ?family } . | ||
27 | FILTER isBlank(?c) | ||
28 | } | ||
29 | </textarea></form> | ||
30 | <script> | ||
31 | var editor = CodeMirror.fromTextArea(document.getElementById("code"), { | ||
32 | mode: "application/x-sparql-query", | ||
33 | tabMode: "indent", | ||
34 | matchBrackets: true | ||
35 | }); | ||
36 | </script> | ||
37 | |||
38 | <p><strong>MIME types defined:</strong> <code>application/x-sparql-query</code>.</p> | ||
39 | |||
40 | </body> | ||
41 | </html> | ||