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