Skip to content

Commit

Permalink
Remove unused parameter declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
CylonicRaider authored and logan committed Feb 6, 2016
1 parent 421059d commit d1e65bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/lib/ui/Message.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ const Message = React.createClass({

let content = message.get('content')
const embeds = []
content = content.replace(/(?:https?:\/\/)?(?:www\.|i\.|m\.)?imgur\.com\/(\w+)(\.\w+)?(\S*)/g, (match, id, ext, rest, offset, string) => {
content = content.replace(/(?:https?:\/\/)?(?:www\.|i\.|m\.)?imgur\.com\/(\w+)(\.\w+)?(\S*)/g, (match, id, ext, rest) => {
if (rest) {
return match
}
Expand Down

0 comments on commit d1e65bc

Please sign in to comment.