From 2e32cd6f6d641bf40aaddbb4a5af94e26e3ed528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=BA=E9=96=93=E5=B7=A5=E4=BD=9C?= Date: Tue, 1 Oct 2024 16:27:38 +0800 Subject: [PATCH] format js by edge --- www/js/utatap.js | 1722 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1721 insertions(+), 1 deletion(-) diff --git a/www/js/utatap.js b/www/js/utatap.js index 543d068..fa4f24d 100644 --- a/www/js/utatap.js +++ b/www/js/utatap.js @@ -1 +1,1721 @@ -$(function(){(new MainManager).init()});var MainManager=function(){aidn.util.useDummyDiv();function a(){G=aidn.window.width(),A=aidn.window.height(),I&&(I.resize(G,A),g&&g.resize())}function e(n,a){a=R.length+C.length,1==b&&(n+=C.length);var e=Math.round(n/a*100)+"%";a<=0&&(e="0%"),$("#scene_loading hr").css("width",e)}function t(){1==++b?R.init(t,e):2==b&&i()}function i(){x=1,$("#scene_loading hr").css("display","none"),$("#scene_loading hr").css("width",0),$("#scene_loading").stop().fadeOut(200,"linear"),p?($("#scene_loading").stop().css("display","none"),$("#bt_back").stop().css("display","none"),B&&$("#bt_fs").stop().css("display","none"),$("#scene_main .set").stop().css("display","none")):$("#scene_main").stop().fadeIn(200,"linear"),m=aidn.___waContext.currentTime,g.start(),C.start()}function n(n){(U=!U)?($("#bt_feedback a").text("反馈: 开启"),aidn.util.setCookie("fb","on",2592e3)):($("#bt_feedback a").text("反馈: 关闭"),aidn.util.setCookie("fb","off",2592e3)),n&&n.preventDefault()}function o(n){(T=!T)?($("#bt_backtrack a").text("背景音乐: 开启"),aidn.util.setCookie("bt","on",2592e3)):($("#bt_backtrack a").text("背景音乐: 关闭"),aidn.util.setCookie("bt","off",2592e3)),n&&n.preventDefault()}function r(){C.update(),1==x&&--D<0&&v(),function(){if(!p)return;if(1!=x)return;var n=1e3*(aidn.___waContext.currentTime-m);if(l*s您的浏览器并不支持本页面需要的特性")),PIXI.utils._saidHello=!0,aidn.window.resize(a)},WebAudioManager=function(){function i(){if(a++,h.now=a,s&&s(a,o),o<=a)l&&l();else{var n=new aidn.WebAudio;n.load(d[r[a]],i),t[a]=n}}this.load=function(n,a,e,t){l=e,s=t,o=(r=a).length,h.length=o,$.getJSON(n,function(n){d=n,i()})},this.play=function(n,a,e){0<=e||(e=1),n您的浏览器并不支持本页面需要的特性")), + PIXI.utils._saidHello = !0, + aidn.window.resize(a) +} + , WebAudioManager = function() { + function i() { + if (a++, + h.now = a, + s && s(a, o), + o <= a) + l && l(); + else { + var n = new aidn.WebAudio; + n.load(d[r[a]], i), + t[a] = n + } + } + this.load = function(n, a, e, t) { + l = e, + s = t, + o = (r = a).length, + h.length = o, + $.getJSON(n, function(n) { + d = n, + i() + }) + } + , + this.play = function(n, a, e) { + 0 <= e || (e = 1), + n < o && t[n].play(0, !1, null, 0, e, a) + } + , + this.stop = function(n) { + n < o && t[n].stop() + } + ; + var o, r, l, s, d, h = this, a = -1, t = []; + this.length = 0, + this.now = 0 +};