Add Thread::callbacks and Post::callbacks.
This commit is contained in:
parent
4a3da8bafb
commit
fbf7fc0cdc
@ -624,6 +624,8 @@
|
||||
g.threads["" + board.ID + "." + this.ID] = board.threads[this.ID] = this;
|
||||
}
|
||||
|
||||
Thread.prototype.callbacks = [];
|
||||
|
||||
return Thread;
|
||||
|
||||
})();
|
||||
@ -639,6 +641,8 @@
|
||||
g.posts["" + board.ID + "." + this.ID] = thread.posts[this.ID] = board.posts[this.ID] = this;
|
||||
}
|
||||
|
||||
Post.prototype.callbacks = [];
|
||||
|
||||
return Post;
|
||||
|
||||
})();
|
||||
|
||||
@ -486,6 +486,7 @@ class Thread
|
||||
@posts = {}
|
||||
|
||||
g.threads["#{board.ID}.#{@ID}"] = board.threads[@ID] = @
|
||||
callbacks: []
|
||||
|
||||
class Post
|
||||
constructor: (@root, @thread, @board) ->
|
||||
@ -493,6 +494,7 @@ class Post
|
||||
@el = $ '.post', root
|
||||
|
||||
g.posts["#{board.ID}.#{@ID}"] = thread.posts[@ID] = board.posts[@ID] = @
|
||||
callbacks: []
|
||||
|
||||
Main =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user