Still being different for the sake of being difficult
This commit is contained in:
parent
0ac6747810
commit
dd4d979276
@ -1005,7 +1005,7 @@
|
||||
return;
|
||||
}
|
||||
fullID = "" + match[1] + "." + match[2];
|
||||
if (this.quotes.indexOf(fullID) === -1) {
|
||||
if (!this.quotes.contains(fullID)) {
|
||||
return this.quotes.push(fullID);
|
||||
}
|
||||
};
|
||||
|
||||
@ -1011,7 +1011,7 @@
|
||||
return;
|
||||
}
|
||||
fullID = "" + match[1] + "." + match[2];
|
||||
if (this.quotes.indexOf(fullID) === -1) {
|
||||
if (!this.quotes.contains(fullID)) {
|
||||
return this.quotes.push(fullID);
|
||||
}
|
||||
};
|
||||
|
||||
@ -52,7 +52,6 @@ class Post
|
||||
threadID: @thread
|
||||
postID: @ID
|
||||
|
||||
|
||||
@parseComment()
|
||||
@parseQuotes()
|
||||
@parseFile(that)
|
||||
@ -110,7 +109,7 @@ class Post
|
||||
|
||||
# ES6 Set when?
|
||||
fullID = "#{match[1]}.#{match[2]}"
|
||||
@quotes.push fullID if @quotes.indexOf(fullID) is -1
|
||||
@quotes.push fullID unless @quotes.contains fullID
|
||||
|
||||
parseFile: (that) ->
|
||||
return unless (fileEl = $ '.file', @nodes.post) and thumb = $ 'img[data-md5]', fileEl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user