diff -r 13f3fb3fc4ef -r 54aeb42c0d80 docs/build/html/_static/websupport.min.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/build/html/_static/websupport.min.js Tue Nov 22 21:35:46 2016 +0100 @@ -0,0 +1,1 @@ +(function(a){a.fn.autogrow=function(){return this.each(function(){var b=this;a.fn.autogrow.resize(b);a(b).focus(function(){b.interval=setInterval(function(){a.fn.autogrow.resize(b)},500)}).blur(function(){clearInterval(b.interval)})})};a.fn.autogrow.resize=function(e){var g=parseInt(a(e).css("line-height"),10);var d=e.value.split("\n");var f=e.cols;var c=0;a.each(d,function(){c+=Math.ceil(this.length/f)||1});var b=g*(c+1);a(e).css("height",b)}})(jQuery);(function(j){var F,D;function B(){o();w()}function o(){j(document).on("click","a.comment-close",function(I){I.preventDefault();r(j(this).attr("id").substring(2))});j(document).on("click","a.vote",function(I){I.preventDefault();E(j(this))});j(document).on("click","a.reply",function(I){I.preventDefault();c(j(this).attr("id").substring(2))});j(document).on("click","a.close-reply",function(I){I.preventDefault();a(j(this).attr("id").substring(2))});j(document).on("click","a.sort-option",function(I){I.preventDefault();q(j(this))});j(document).on("click","a.show-proposal",function(I){I.preventDefault();u(j(this).attr("id").substring(2))});j(document).on("click","a.hide-proposal",function(I){I.preventDefault();k(j(this).attr("id").substring(2))});j(document).on("click","a.show-propose-change",function(I){I.preventDefault();t(j(this).attr("id").substring(2))});j(document).on("click","a.hide-propose-change",function(I){I.preventDefault();l(j(this).attr("id").substring(2))});j(document).on("click","a.accept-comment",function(I){I.preventDefault();d(j(this).attr("id").substring(2))});j(document).on("click","a.delete-comment",function(I){I.preventDefault();v(j(this).attr("id").substring(2))});j(document).on("click","a.comment-markup",function(I){I.preventDefault();h(j(this).attr("id").substring(2))})}function x(){if(D.substring(0,3)=="asc"){var I=D.substring(3);F=function(K,J){return K[I]-J[I]}}else{F=function(K,J){return J[D]-K[D]}}j("a.sel").attr("href","#").removeClass("sel");j("a.by"+D).removeAttr("href").addClass("sel")}function w(){D="rating";if(document.cookie.length>0){var J=document.cookie.indexOf("sortBy=");if(J!=-1){J=J+7;var I=document.cookie.indexOf(";",J);if(I==-1){I=document.cookie.length;D=unescape(document.cookie.substring(J,I))}}}x()}function G(L){j("#ao"+L).hide();j("#ah"+L).show();var J=j.extend({id:L},s);var I=j(p(b,J)).hide();I.find('textarea[name="proposal"]').hide();I.find("a.by"+D).addClass("sel");var K=I.find("#cf"+L);K.submit(function(M){M.preventDefault();n(K)});j("#s"+L).after(I);I.slideDown("fast",function(){m(L)})}function r(J){j("#ah"+J).hide();j("#ao"+J).show();var I=j("#sc"+J);I.slideUp("fast",function(){I.remove()})}function m(I){j.ajax({type:"GET",url:s.getCommentsURL,data:{node:I},success:function(M,O,K){var J=j("#cl"+I);var L=100;j("#cf"+I).find('textarea[name="proposal"]').data("source",M.source);if(M.comments.length===0){J.html("
  • No comments yet.
  • ");J.data("empty",true)}else{var N=C(M.comments);L=M.comments.length*100;y(N,J);J.data("empty",false)}j("#cn"+I).slideUp(L+200);J.slideDown(L)},error:function(K,L,J){e("Oops, there was a problem retrieving the comments.")},dataType:"json"})}function n(J){var L=J.find('input[name="node"]').val();var K=J.find('input[name="parent"]').val();var M=J.find('textarea[name="comment"]').val();var I=J.find('textarea[name="proposal"]').val();if(M==""){e("Please enter a comment.");return}J.find("textarea,input").attr("disabled","disabled");j.ajax({type:"POST",url:s.addCommentURL,dataType:"json",data:{node:L,parent:K,text:M,proposal:I},success:function(Q,R,N){if(L){l(L)}J.find("textarea").val("").add(J.find("input")).removeAttr("disabled");var O=j("#cl"+(L||K));if(O.data("empty")){j(O).empty();O.data("empty",false)}z(Q.comment);var P=j("#ao"+L);P.find("img").attr({src:s.commentBrightImage});if(L){j("#ca"+L).slideUp()}},error:function(O,P,N){J.find("textarea,input").removeAttr("disabled");e("Oops, there was a problem adding the comment.")}})}function y(J,I){j.each(J,function(){var K=f(this);I.append(j(document.createElement("li")).html(K));y(this.children,K.find("ul.comment-children"));this.children=null;K.data("comment",this)})}function z(M){var L=f(M);M.children=null;L.data("comment",M);var J=j("#cl"+(M.node||M.parent));var K=g(J);var I=j(document.createElement("li"));I.hide();for(i=0;iThank you! Your comment will show up once it is has been approved by a moderator.')}L.pretty_rating=L.rating+" point"+(L.rating==1?"":"s");L.css_class=L.displayed?"":" moderate";var I=j.extend({},s,L);var K=j(p(A,I));if(L.vote){var J=(L.vote==1)?"u":"d";K.find("#"+J+"v"+L.id).hide();K.find("#"+J+"u"+L.id).show()}if(s.moderator||L.text!="[deleted]"){K.find("a.reply").show();if(L.proposal_diff){K.find("#sp"+L.id).show()}if(s.moderator&&!L.displayed){K.find("#cm"+L.id).show()}if(s.moderator||(s.username==L.username)){K.find("#dc"+L.id).show()}}return K}function p(K,J){var I=j(document.createElement("div"));function L(O,M){var N=J;j.each(O.split("."),function(){N=N[this]});return M?I.text(N||"").html():N}return K.replace(/<([%#])([\w\.]*)\1>/g,function(){return L(arguments[2],arguments[1]=="%"?true:false)})}function e(I){j(document.createElement("div")).attr({"class":"popup-error"}).append(j(document.createElement("div")).attr({"class":"error-message"}).text(I)).appendTo("body").fadeIn("slow").delay(2000).fadeOut("slow")}j.fn.comment=function(){return this.each(function(){var M=j(this).attr("id").substring(1);var I=COMMENT_METADATA[M];var L=I+" comment"+(I==1?"":"s");var K=I>0?s.commentBrightImage:s.commentImage;var J=I==0?" nocomment":"";j(this).append(j(document.createElement("a")).attr({href:"#","class":"sphinx-comment-open"+J,id:"ao"+M}).append(j(document.createElement("img")).attr({src:K,alt:"comment",title:L})).click(function(N){N.preventDefault();G(j(this).attr("id").substring(2))})).append(j(document.createElement("a")).attr({href:"#","class":"sphinx-comment-close hidden",id:"ah"+M}).append(j(document.createElement("img")).attr({src:s.closeCommentImage,alt:"close",title:"close"})).click(function(N){N.preventDefault();r(j(this).attr("id").substring(2))}))})};var s={processVoteURL:"/_process_vote",addCommentURL:"/_add_comment",getCommentsURL:"/_get_comments",acceptCommentURL:"/_accept_comment",deleteCommentURL:"/_delete_comment",commentImage:"/static/_static/comment.png",closeCommentImage:"/static/_static/comment-close.png",loadingImage:"/static/_static/ajax-loader.gif",commentBrightImage:"/static/_static/comment-bright.png",upArrow:"/static/_static/up.png",downArrow:"/static/_static/down.png",upArrowPressed:"/static/_static/up-pressed.png",downArrowPressed:"/static/_static/down-pressed.png",voting:false,moderator:false};if(typeof COMMENT_OPTIONS!="undefined"){s=jQuery.extend(s,COMMENT_OPTIONS)}var b='

    Sort by: best rated newest oldest

    Comments
    loading comments...

    Add a comment (markup):

    reStructured text markup: *emph*, **strong**, ``code``, code blocks: :: and an indented block after blank line

    Propose a change ▹ Propose a change ▿

    ';var A='

    <%username%> <%pretty_rating%> <%time.delta%>

    <#text#>

    reply ▿ proposal ▹ proposal ▿

    <#proposal_diff#>        
      ';var H='
    • ';j(document).ready(function(){B()})})(jQuery);$(document).ready(function(){$(".sphinx-has-comment").comment();$("div.context").each(function(){var d=$.getQueryParameters();var c=(d.q)?d.q[0].split(/\s+/):[];var b=$(this);$.each(c,function(){b.highlightText(this.toLowerCase(),"highlighted")})});var a=document.location.hash;if(a.substring(0,9)=="#comment-"){$("#ao"+a.substring(9)).click();document.location.hash="#s"+a.substring(9)}}); \ No newline at end of file