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