mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
Add initial ace editor
This commit is contained in:
23
src-noconflict/snippets/snippets.js
Normal file
23
src-noconflict/snippets/snippets.js
Normal file
@@ -0,0 +1,23 @@
|
||||
ace.define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# snippets for making snippets :)\n\
|
||||
snippet snip\n\
|
||||
snippet ${1:trigger}\n\
|
||||
${2}\n\
|
||||
snippet msnip\n\
|
||||
snippet ${1:trigger} ${2:description}\n\
|
||||
${3}\n\
|
||||
snippet v\n\
|
||||
{VISUAL}\n\
|
||||
";
|
||||
exports.scope = "snippets";
|
||||
|
||||
}); (function() {
|
||||
ace.require(["ace/snippets/snippets"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user