snippet_bundle.js 239 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 /*= require_tree . */ (function() { $(function() { var editor = ace.edit("editor") $(".snippet-form-holder form").on('submit', function() { $(".snippet-file-content").val(editor.getValue()); }); }); }).call(this);