From: Michael Stapelberg Date: Sat, 23 Jul 2011 14:21:38 +0000 (+0200) Subject: rename js to gallery.min.2.js due to caching X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;ds=inline;h=45f0bea5f58f0e05ec12ba6fc41abf5f946db203;p=i3%2Fi3.github.io rename js to gallery.min.2.js due to caching --- diff --git a/js/gallery.min.2.js b/js/gallery.min.2.js new file mode 100644 index 0000000..e941cac --- /dev/null +++ b/js/gallery.min.2.js @@ -0,0 +1,4 @@ +function initGallery(){ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('