Welcome to mirror list, hosted at ThFree Co, Russian Federation.

snippet_bundle.js « snippet « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfb4ff82a73d2826560cb7b303ba2ebf993460b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, 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);