blob: 2c8ecba7de430e90ad3d558c8d318f81cf708c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, no-undef, quotes, semi, padded-blocks, max-len */
/*= require_tree . */
(function() {
$(function() {
var editor = ace.edit("editor")
$(".snippet-form-holder form").on('submit', function() {
$(".snippet-file-content").val(editor.getValue());
});
});
}).call(this);
|