diff.js 921 B

1234567891011121314151617181920212223242526
  1. ace.define("ace/snippets/diff",[], function(require, exports, module) {
  2. "use strict";
  3. exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\
  4. snippet header DEP-3 style header\n\
  5. Description: ${1}\n\
  6. Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\
  7. Bug: ${4:url in upstream bugtracker}\n\
  8. Forwarded: ${5:no|not-needed|url}\n\
  9. Author: ${6:`g:snips_author`}\n\
  10. Reviewed-by: ${7:name and email}\n\
  11. Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\
  12. Applied-Upstream: ${9:upstream version|url|commit}\n\
  13. \n\
  14. ";
  15. exports.scope = "diff";
  16. });
  17. (function() {
  18. ace.require(["ace/snippets/diff"], function(m) {
  19. if (typeof module == "object" && typeof exports == "object" && module) {
  20. module.exports = m;
  21. }
  22. });
  23. })();