Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content
/
plugins
/
jetpack
/
_inc
/
build
:
jetpack-modules.views.min.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
window.jetpackModules=window.jetpackModules||{},window.jetpackModules.views=function(t,e,a,o,n){"use strict";var i={};return i.List_Table=o.View.extend({template:n.template("Jetpack_Modules_List_Table_Template"),updateUrl:function(){if(t.history.replaceState){var a=t.location.href.split("?")[0]+"?page=jetpack_modules",o=e(".subsubsub .current"),n=e(".button-group.filter-active .active"),i=e(".button-group.sort .active"),s=e("#srch-term-search-input").val();s.length&&(a+="&s="+encodeURIComponent(s)),o.hasClass("all")||(a+="&module_tag="+encodeURIComponent(o.data("title"))),n.data("filter-by")&&(a+="&"+encodeURIComponent(n.data("filter-by"))+"="+encodeURIComponent(n.data("filter-value"))),"name"!==i.data("sort-by")&&(a+="&sort_by="+encodeURIComponent(i.data("sort-by"))),t.history.replaceState({},"",a)}},render:function(){return this.model.filter_and_sort(),this.$el.html(this.template(this.model.attributes)),this.updateUrl(),this},initialize:function(){this.listenTo(this.model,"change",this.render)}}),i}(window,jQuery,_,Backbone,wp);