summaryrefslogtreecommitdiffstats
path: root/js/yui3/pjax/pjax-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/pjax/pjax-min.js')
-rw-r--r--js/yui3/pjax/pjax-min.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/yui3/pjax/pjax-min.js b/js/yui3/pjax/pjax-min.js
new file mode 100644
index 000000000..91442352a
--- /dev/null
+++ b/js/yui3/pjax/pjax-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("pjax",function(e,t){var n=["loadContent","_defaultRoute"],r="error",i="load";e.Pjax=e.Base.create("pjax",e.Router,[e.PjaxBase,e.PjaxContent],{initializer:function(){this.publish(r,{defaultFn:this._defCompleteFn}),this.publish(i,{defaultFn:this._defCompleteFn})},_defaultRoute:function(e,t,n){var s=t.ioResponse,o=s.status,u=o>=200&&o<300?i:r;this.fire(u,{content:t.content,responseText:s.responseText,status:o,url:e.ioURL}),n()},_defCompleteFn:function(t){var n=this.get("container"),r=t.content;n&&r.node&&n.setHTML(r.node),r.title&&e.config.doc&&(e.config.doc.title=r.title)}},{ATTRS:{container:{value:null,setter:e.one},routes:{value:[{path:"*",callbacks:n}]}},defaultRoute:n})},"3.17.2",{requires:["pjax-base","pjax-content"]});