diff options
Diffstat (limited to 'js/yui3/paginator-url/paginator-url-min.js')
-rw-r--r-- | js/yui3/paginator-url/paginator-url-min.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/yui3/paginator-url/paginator-url-min.js b/js/yui3/paginator-url/paginator-url-min.js new file mode 100644 index 000000000..7a35b4de9 --- /dev/null +++ b/js/yui3/paginator-url/paginator-url-min.js @@ -0,0 +1,8 @@ +/* +YUI 3.17.2 (build 9c3c78e) +Copyright 2014 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ + +YUI.add("paginator-url",function(e,t){function n(){}n.ATTRS={pageUrl:{}},n.prototype={prevPageUrl:function(){return this.hasPrevPage()&&this.formatPageUrl(this.get("page")-1)||null},nextPageUrl:function(){return this.hasNextPage()&&this.formatPageUrl(this.get("page")+1)||null},formatPageUrl:function(t){var n=this.get("pageUrl");return n?e.Lang.sub(n,{page:t||this.get("page")}):null}},e.namespace("Paginator").Url=n,e.Base.mix(e.Paginator,[n])},"3.17.2",{requires:["paginator"]}); |