From 17755b435b785802bda525116c3c9dd5e1c44ca1 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Fri, 10 May 2013 15:56:14 -0700 Subject: [PATCH] And this is why you should do you bugtesting on the source Not the compiled output. --- builds/4chan-X.js | 4 ++-- builds/4chan-X.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/Monitoring/ThreadUpdater.coffee | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/builds/4chan-X.js b/builds/4chan-X.js index a726cb686..be23ea12c 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -7257,8 +7257,8 @@ continue; } count++; - node = Build.postFromObject(postObject, ThreadUpdater.thread.board); - posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board.ID)); + node = Build.postFromObject(postObject, ThreadUpdater.thread.board.ID); + posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board)); } deletedPosts = []; deletedFiles = []; diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 0a3d41259..248dd7a38 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -7266,8 +7266,8 @@ continue; } count++; - node = Build.postFromObject(postObject, ThreadUpdater.thread.board); - posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board.ID)); + node = Build.postFromObject(postObject, ThreadUpdater.thread.board.ID); + posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board)); } deletedPosts = []; deletedFiles = []; diff --git a/builds/crx/script.js b/builds/crx/script.js index 63255c9b7..20a31443c 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -7244,8 +7244,8 @@ continue; } count++; - node = Build.postFromObject(postObject, ThreadUpdater.thread.board); - posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board.ID)); + node = Build.postFromObject(postObject, ThreadUpdater.thread.board.ID); + posts.push(new Post(node, ThreadUpdater.thread, ThreadUpdater.thread.board)); } deletedPosts = []; deletedFiles = []; diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index 87d1dd3b9..5a4fc92a3 100644 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -268,8 +268,8 @@ ThreadUpdater = continue if num <= ThreadUpdater.lastPost # Insert new posts, not older ones. count++ - node = Build.postFromObject postObject, ThreadUpdater.thread.board - posts.push new Post node, ThreadUpdater.thread, ThreadUpdater.thread.board.ID + node = Build.postFromObject postObject, ThreadUpdater.thread.board.ID + posts.push new Post node, ThreadUpdater.thread, ThreadUpdater.thread.board deletedPosts = [] deletedFiles = []