debian-mirror-gitlab/app/assets/javascripts/snippets_list.js.es6

12 lines
253 B
JavaScript
Raw Normal View History

2016-09-29 09:46:39 +05:30
(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);