gitlab-org--gitlab-foss/app/assets/javascripts/snippets_list.js.es6
2016-10-26 10:02:58 +02:00

12 lines
274 B
JavaScript

/* eslint-disable */
(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);
});
}
})(window);