~ubuntuone-pqm-team/yui/stable-min

« back to all changes in this revision

Viewing changes to stable-min/build/pjax/pjax-min.js

  • Committer: Ricardo Kirkner
  • Date: 2014-09-23 13:15:46 UTC
  • Revision ID: ricardo.kirkner@canonical.com-20140923131546-4hu82pjgcw6rhzgr
initial import based on stable@4614

- removed source, tools and docs
- removed non-debug, non-minimized js
- removed debug js

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
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})},"@VERSION@",{requires:["pjax-base","pjax-content"]});