debian-mirror-gitlab/app/assets/javascripts/snippet/snippet_bundle.js

13 lines
239 B
JavaScript
Raw Normal View History

2016-09-13 17:45:13 +05:30
/*= require_tree . */
(function() {
$(function() {
var editor = ace.edit("editor")
$(".snippet-form-holder form").on('submit', function() {
$(".snippet-file-content").val(editor.getValue());
});
});
}).call(this);