# jetpack/16.3-a.7/_inc/build/jetpack-modules.views.min.js

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3-a.7. 1 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/_inc/build/jetpack-modules.views.min.js
- Raw: https://pluginprobe.com/plugins/jetpack/16.3-a.7/raw/_inc/build/jetpack-modules.views.min.js
- Modified: 2026-08-04T00:04:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/_inc/build/jetpack-modules.views.min.js#L10-L20`.

```javascript
window.jetpackModules=window.jetpackModules||{},window.jetpackModules.views=function(t,e,a,i){"use strict";var l={};return l.List_Table=a.View.extend({template:i.template("Jetpack_Modules_List_Table_Template"),updateUrl:function(){if(t.history.replaceState){var a=t.location.href.split("?")[0]+"?page=jetpack_modules",i=e(".subsubsub .current"),l=e(".purpose-filter .current"),o=e(".button-group.availability-filter .active"),n=e("#srch-term-search-input").val();n.length&&(a+="&s="+encodeURIComponent(n)),"all"===o.data("availability")&&(a+="&offline_available=all"),i.hasClass("all")||(a+="&module_tag="+encodeURIComponent(i.find("a").data("title"))),l.length&&!l.hasClass("all")&&(a+="&product_group="+encodeURIComponent(l.find("a").data("group"))),e(".button-group.module-filter .active").each(function(){var t=e(this).data("filter-by"),i=e(this).data("filter-value");t&&(a+="&"+encodeURIComponent(t)+"="+encodeURIComponent(i))}),t.history.replaceState({},"",a)}},updateFacetCounts:function(t,a,i){e(t+" > li").each(function(){var t=e(this),l=t.hasClass("all"),o=t.children("a").data(i),n=l?a.__all__:a[o]||0;t.find(".count").text("("+n+")"),l||t.toggleClass("is-empty",0===n)})},updateCounts:function(){this.updateFacetCounts(".subsubsub",this.model.tag_counts(),"title"),this.updateFacetCounts(".purpose-filter",this.model.purpose_counts(),"group")},render:function(){return this.model.filter_and_sort(),this.$el.html(this.template(this.model.attributes)),this.updateCounts(),this.updateUrl(),this},initialize:function(){this.listenTo(this.model,"change",this.render)}}),l}(window,jQuery,Backbone,wp);
```
