aboutsummaryrefslogtreecommitdiff
path: root/js/codemirror/mode/sparql/index.html
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-20 11:14:44 -0800
committerNivesh Rajbhandari2012-02-20 11:14:44 -0800
commitabf78e2d7a97d295ce5a1c425fd359d47379137e (patch)
treed08c91bd2aef31e6325e0b499b2ffc390018bec6 /js/codemirror/mode/sparql/index.html
parente80a79bff57fecf3aa9b869d8ed2de5fd815287c (diff)
parente23708721a71ca4c71365f5f8e8ac7d6113926db (diff)
downloadninja-abf78e2d7a97d295ce5a1c425fd359d47379137e.tar.gz
Merge branch 'refs/heads/ninja-internal' into ToolFixes
Diffstat (limited to 'js/codemirror/mode/sparql/index.html')
-rw-r--r--js/codemirror/mode/sparql/index.html41
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">
15PREFIX a: &lt;http://www.w3.org/2000/10/annotation-ns#>
16PREFIX dc: &lt;http://purl.org/dc/elements/1.1/>
17PREFIX foaf: &lt;http://xmlns.com/foaf/0.1/>
18
19# Comment!
20
21SELECT ?given ?family
22WHERE {
23 ?annot a:annotates &lt;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>