BigW Consortium Gitlab

snippets_list.js 366 Bytes
Newer Older
1
/* eslint-disable arrow-parens, no-param-reassign, space-before-function-paren, func-names, no-var, max-len */
2

3 4 5 6 7 8 9 10 11
(global => {
  global.gl = global.gl || {};

  gl.SnippetsList = function() {
    var $holder = $('.snippets-list-holder');

    $holder.find('.pagination').on('ajax:success', (e, data) => {
      $holder.replaceWith(data.html);
    });
12
  };
13
})(window);