Browse code

Move jquery-migrate before ba-bbq

hiromipaw authored on16/06/2017 12:48:05
Showing2 changed files
... ...
@@ -43,10 +43,10 @@
43 43
    Source: http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/
44 44
    License: Public Domain (http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/#comment-12498) */
45 45
   </script>
46
+  <script type="text/javascript" src="../js/jquery-migrate-1.0.0.js"></script>
46 47
   <script type="text/javascript" src="../js/jquery.ba-bbq.min.js">
47 48
 /*  Source: https://raw.github.com/cowboy/jquery-bbq/v1.2.1/jquery.ba-bbq.js */
48 49
   </script>
49
-  <script type="text/javascript" src="../js/jquery-migrate-1.0.0.js"></script>
50 50
   <script type="text/javascript" src="../js/dlpage01.js">
51 51
 # /* Displays detected section */
52 52
   </script>
... ...
@@ -15,5 +15,4 @@
15 15
  * Dual licensed under the MIT and GPL licenses.
16 16
  * http://benalman.com/about/license/
17 17
  */
18
-
19 18
 (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);