lib/javascripts/pagy.js in pagy-3.4.0 vs lib/javascripts/pagy.js in pagy-3.4.1
- old
+ new
@@ -1,8 +1,10 @@
// See the Pagy documentation: https://ddnexus.github.io/pagy/extras#javascript
function Pagy(){}
+Pagy.version = '3.4.1';
+
Pagy.init = function(arg){
var target = arg instanceof Event || arg === undefined ? document : arg,
jsonTags = target.getElementsByClassName('pagy-json');
if (target === document) { // reset resize-listeners on page load (#163)
for (var id in Pagy.navResizeListeners) { window.removeEventListener('resize', Pagy.navResizeListeners[id], true) }