Permalink
Browse files

Consistency matters - kinda sorta - not really tho

  • Loading branch information...
1 parent fd1f27c commit cebc46867e75e9c2d57caa81865b00f5cf032824 @CrazyLemon CrazyLemon committed May 31, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/url.coffee
View
@@ -9,10 +9,10 @@ module.exports = (bot) ->
bot.fetchHTML url, ($)->
if $
stack = []
- stack.push $("title").eq(0).text().replace(/\s\s+/g, "").replace(/ /g,'').replace(/\n/g, "")
+ stack.push $("title").eq(0).text().replace(/\s\s+/g, "").replace(/ /g,"").replace(/\n/g, "")
opis = $("meta[name=description]").attr("content")
if opis
- stack.push opis.replace(/\s\s+/g, "").replace(/ /g,'').replace(/\n/g, "")
+ stack.push opis.replace(/\s\s+/g, "").replace(/ /g,"").replace(/\n/g, "")
cb stack.join("\n")
bot.on 'user:talk', (r) ->

0 comments on commit cebc468

Please sign in to comment.