2017-01-10 17:54:56 -05:00
|
|
|
/* eslint-disable arrow-parens, no-param-reassign, space-before-function-paren, func-names, no-var, max-len */
|
2016-12-13 22:01:05 -05:00
|
|
|
|
2016-09-05 12:38:20 -04:00
|
|
|
(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);
|
|
|
|
});
|
2017-01-10 17:54:56 -05:00
|
|
|
};
|
2016-09-05 12:38:20 -04:00
|
|
|
})(window);
|