Unused codemirror directories removed
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
CodeMirror.defineMode("changes", function() {
|
||||
var headerSeperator = /^-+$/;
|
||||
var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /;
|
||||
var simpleEmail = /^[\w+.-]+@[\w.-]+/;
|
||||
|
||||
return {
|
||||
token: function(stream) {
|
||||
if (stream.sol()) {
|
||||
if (stream.match(headerSeperator)) { return 'tag'; }
|
||||
if (stream.match(headerLine)) { return 'tag'; }
|
||||
}
|
||||
if (stream.match(simpleEmail)) { return 'string'; }
|
||||
stream.next();
|
||||
return null;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
CodeMirror.defineMIME("text/x-rpm-changes", "changes");
|
||||
@@ -1,67 +0,0 @@
|
||||
<!doctype html>
|
||||
|
||||
<title>CodeMirror: RPM changes mode</title>
|
||||
<meta charset="utf-8"/>
|
||||
<link rel=stylesheet href="../../doc/docs.css">
|
||||
|
||||
<link rel="stylesheet" href="../../../lib/codemirror.css">
|
||||
<script src="../../../lib/codemirror.js"></script>
|
||||
<script src="changes.js"></script>
|
||||
<link rel="stylesheet" href="../../../doc/docs.css">
|
||||
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
|
||||
|
||||
<div id=nav>
|
||||
<a href="http://codemirror.net"><img id=logo src="../../../doc/logo.png"></a>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../index.html">Home</a>
|
||||
<li><a href="../../../doc/manual.html">Manual</a>
|
||||
<li><a href="https://github.com/marijnh/codemirror">Code</a>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="../../index.html">Language modes</a>
|
||||
<li><a class=active href="#">RPM changes</a>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<article>
|
||||
<h2>RPM changes mode</h2>
|
||||
|
||||
<div><textarea id="code" name="code">
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 18 13:58:40 UTC 2011 - misterx@example.com
|
||||
|
||||
- Update to r60.3
|
||||
- Fixes bug in the reflect package
|
||||
* disallow Interface method on Value obtained via unexported name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 6 08:14:24 UTC 2011 - misterx@example.com
|
||||
|
||||
- Update to r60.2
|
||||
- Fixes memory leak in certain map types
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 14:34:10 UTC 2011 - misterx@example.com
|
||||
|
||||
- Tweaks for gdb debugging
|
||||
- go.spec changes:
|
||||
- move %go_arch definition to %prep section
|
||||
- pass correct location of go specific gdb pretty printer and
|
||||
functions to cpp as HOST_EXTRA_CFLAGS macro
|
||||
- install go gdb functions & printer
|
||||
- gdb-printer.patch
|
||||
- patch linker (src/cmd/ld/dwarf.c) to emit correct location of go
|
||||
gdb functions and pretty printer
|
||||
</textarea></div>
|
||||
<script>
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
||||
mode: {name: "changes"},
|
||||
lineNumbers: true,
|
||||
indentUnit: 4,
|
||||
tabMode: "shift"
|
||||
});
|
||||
</script>
|
||||
|
||||
<p><strong>MIME types defined:</strong> <code>text/x-rpm-changes</code>.</p>
|
||||
</article>
|
||||
Reference in New Issue
Block a user