Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a base branch
Nothing to show
...
Choose a head branch
Nothing to show
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
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,'')
+ 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, "")
+ stack.push opis.replace(/\s\s+/g, "").replace(/ /g,"").replace(/\n/g, "")
cb stack.join("\n")
bot.on 'user:talk', (r) ->

No commit comments for this range