[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/staging] Move jquery-migrate before ba-bbq



commit f52045ee66095f0160935cf7a2be72c85c394d92
Author: hiromipaw <hiro@xxxxxxxxxxxxxx>
Date:   Fri Jun 16 12:48:05 2017 +0200

    Move jquery-migrate before ba-bbq
---
 include/dlhead.wmi      | 2 +-
 js/jquery.ba-bbq.min.js | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/dlhead.wmi b/include/dlhead.wmi
index f3fed1e..87fc98b 100644
--- a/include/dlhead.wmi
+++ b/include/dlhead.wmi
@@ -43,10 +43,10 @@
    Source: http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/
    License: Public Domain (http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/#comment-12498) */
   </script>
+  <script type="text/javascript" src="../js/jquery-migrate-1.0.0.js"></script>
   <script type="text/javascript" src="../js/jquery.ba-bbq.min.js">
 /*  Source: https://raw.github.com/cowboy/jquery-bbq/v1.2.1/jquery.ba-bbq.js */
   </script>
-  <script type="text/javascript" src="../js/jquery-migrate-1.0.0.js"></script>
   <script type="text/javascript" src="../js/dlpage01.js">
 # /* Displays detected section */
   </script>
diff --git a/js/jquery.ba-bbq.min.js b/js/jquery.ba-bbq.min.js
index 279989b..88109c8 100644
--- a/js/jquery.ba-bbq.min.js
+++ b/js/jquery.ba-bbq.min.js
@@ -15,5 +15,4 @@
  * Dual licensed under the MIT and GPL licenses.
  * http://benalman.com/about/license/
  */
-
 (function($,i,b){var j,k=$.event.special,c="location",d="hashchange",l="href",f=$.browser,g=document.documentMode,h=f.msie&&(g===b||g<8),e="on"+d in i&&!h;function a(m){m=m||i[c][l];return m.replace(/^[^#]*#?(.*)$/,"$1")}$[d+"Delay"]=100;k[d]=$.extend(k[d],{setup:function(){if(e){return false}$(j.start)},teardown:function(){if(e){return false}$(j.stop)}});j=(function(){var m={},r,n,o,q;function p(){o=q=function(s){return s};if(h){n=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;q=function(){return a(n.document[c][l])};o=function(u,s){if(u!==s){var t=n.document;t.open().close();t[c].hash="#"+u}};o(a())}}m.start=function(){if(r){return}var t=a();o||p();(function s(){var v=a(),u=q(t);if(v!==t){o(t=v,u);$(i).trigger(d)}else{if(u!==t){i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u}}r=setTimeout(s,$[d+"Delay"])})()};m.stop=function(){if(!n){r&&clearTimeout(r);r=0}};return m})()})(jQuery,this);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits