mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-21 03:02:36 +00:00
d4cc23f606
Change-Id: I31eeb56eec4995e1bff8248e5c1d4df7f20ad48b
25 lines
948 B
JavaScript
25 lines
948 B
JavaScript
ace.define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) {
|
|
"use strict";
|
|
|
|
exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
|
|
snippet header DEP-3 style header\n\
|
|
Description: ${1}\n\
|
|
Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
|
|
Bug: ${4:url in upstream bugtracker}\n\
|
|
Forwarded: ${5:no|not-needed|url}\n\
|
|
Author: ${6:`g:snips_author`}\n\
|
|
Reviewed-by: ${7:name and email}\n\
|
|
Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
|
|
Applied-Upstream: ${9:upstream version|url|commit}\n\
|
|
\n\
|
|
";
|
|
exports.scope = "diff";
|
|
|
|
}); (function() {
|
|
ace.require(["ace/snippets/diff"], function(m) {
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
module.exports = m;
|
|
}
|
|
});
|
|
})();
|
|
|