There's a splat for that.
This commit is contained in:
parent
2e1dc0088d
commit
8d54c13d5f
@ -3111,7 +3111,7 @@
|
||||
var ID, handleQuotes, qLconcat, quote, quotedPost, quotelinks, quoterPost, _i, _len, _ref, _ref1, _ref2;
|
||||
quotelinks = [];
|
||||
qLconcat = function(links) {
|
||||
return quotelinks = quotelinks.concat(links);
|
||||
return quotelinks.push.apply(quotelinks, links);
|
||||
};
|
||||
handleQuotes = function(post) {
|
||||
var clone, _i, _len, _ref;
|
||||
|
||||
@ -3121,7 +3121,7 @@
|
||||
var ID, handleQuotes, qLconcat, quote, quotedPost, quotelinks, quoterPost, _i, _len, _ref, _ref1, _ref2;
|
||||
quotelinks = [];
|
||||
qLconcat = function(links) {
|
||||
return quotelinks = quotelinks.concat(links);
|
||||
return quotelinks.push.apply(quotelinks, links);
|
||||
};
|
||||
handleQuotes = function(post) {
|
||||
var clone, _i, _len, _ref;
|
||||
|
||||
@ -41,7 +41,7 @@ Get =
|
||||
# Get quotelinks & backlinks linking to the given post.
|
||||
quotelinks = []
|
||||
qLconcat = (links) ->
|
||||
quotelinks = quotelinks.concat links
|
||||
quotelinks.push links...
|
||||
handleQuotes = (post) ->
|
||||
qLconcat post.nodes.quotelinks
|
||||
for clone in post.clones
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user