From 5762397f874a628829ab93d6b27543811989c03b Mon Sep 17 00:00:00 2001 From: xcyxiner <593091948@qq.com> Date: Thu, 15 Dec 2016 10:02:18 +0800 Subject: [PATCH 1/4] Update pop.js js format error in node v0.10 --- web-server/public/js/pop.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web-server/public/js/pop.js b/web-server/public/js/pop.js index 3a34cfe..9f0f7b0 100755 --- a/web-server/public/js/pop.js +++ b/web-server/public/js/pop.js @@ -1,4 +1,4 @@ - (function($j) { +jQuery(function($j) { $j.positionFixed = function(el) { $j(el).each(function() { new fixed(this) @@ -73,7 +73,7 @@ } } }) -})(jQuery) +}) jQuery(function($j) { $j('#footer').positionFixed() @@ -111,4 +111,4 @@ Pop.prototype = { $('#pop').remove(); }); } -} \ No newline at end of file +} From 95573567069b9c6e085c64668ca74ad6a40e00c6 Mon Sep 17 00:00:00 2001 From: xcyxiner <593091948@qq.com> Date: Thu, 15 Dec 2016 10:46:28 +0800 Subject: [PATCH 2/4] Update index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去掉pop.js合并到client.js --- web-server/public/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web-server/public/index.html b/web-server/public/index.html index c26e7ac..f2333ba 100755 --- a/web-server/public/index.html +++ b/web-server/public/index.html @@ -18,9 +18,6 @@ - @@ -95,4 +92,4 @@