File Editor
Directories:
.. (Back)
carousel
comment-likes
custom-post-types
images
infinite-scroll
likes
related-posts
scan
sharedaddy
shortcodes
theme-tools
tiled-gallery
videopress
widget-visibility
widgets
wordads
Files:
accessible-focus.min.asset.php
accessible-focus.min.js
admin.asset.php
admin.css
admin.js
admin.js.LICENSE.txt
admin.rtl.css
crowdsignal-shortcode.min.asset.php
crowdsignal-shortcode.min.js
crowdsignal-survey.min.asset.php
crowdsignal-survey.min.js
deprecate.min.asset.php
deprecate.min.js
facebook-embed.min.asset.php
facebook-embed.min.js
gallery-settings.min.asset.php
gallery-settings.min.js
jetpack-admin.min.asset.php
jetpack-admin.min.js
jetpack-deactivate-dialog.min.asset.php
jetpack-deactivate-dialog.min.js
jetpack-modules.min.asset.php
jetpack-modules.min.js
jetpack-modules.models.min.asset.php
jetpack-modules.models.min.js
jetpack-modules.views.min.asset.php
jetpack-modules.views.min.js
plugins-page.asset.php
plugins-page.css
plugins-page.js
plugins-page.js.LICENSE.txt
plugins-page.rtl.css
polldaddy-shortcode.min.asset.php
polldaddy-shortcode.min.js
static-noscript-notice.html
static-version-notice.html
static.html
static.js.LICENSE.txt
style.min.css
style.min.rtl.css
twitter-timeline.min.asset.php
twitter-timeline.min.js
Create New File
Create
Edit File: jetpack-modules.models.min.js
window.jetpackModules=window.jetpackModules||{},window.jetpackModules.models=function(t,e,r,a){"use strict";var s={};return s.Modules=a.Model.extend({visibles:{},filter_and_sort:function(){var t,a=e(".subsubsub .current a"),s=this.get("raw"),i=e(".button-group.filter-active .active"),o=e(".button-group.sort .active"),n=e("#srch-term-search-input").val().toLowerCase();return a.closest("li").hasClass("all")||(s=r.filter(s,(function(t){return r.contains(t.module_tags,a.data("title"))}))),i.data("filter-by")&&(s=r.filter(s,(function(t){return t[i.data("filter-by")]===i.data("filter-value")}))),n.length&&(s=r.filter(s,(function(t){return-1!==(t.name+" "+t.description+" "+t.long_description+" "+t.search_terms+" "+t.module_tags).toLowerCase().indexOf(n)}))),o.data("sort-by")&&(s=r.sortBy(s,o.data("sort-by")),"reverse"===o.data("sort-order")&&s.reverse()),t=r.groupBy(s,"available"),r.has(t,"false")&&(s=[].concat(t[!0],t[!1])),this.set("items",s),this},initialize:function(){var t=this.get("items");this.set("raw",t)}}),s}(window,jQuery,_,Backbone);
Save Changes
Rename File
Rename