Twitch.tv on its own shouldn't be embedded.

This commit is contained in:
ccd0 2015-07-14 21:26:48 -07:00
parent 2de2db4e6c
commit 3256eed138

View File

@ -253,7 +253,7 @@ Embedding =
src: "//strawpoll.me/embed_1/#{a.dataset.uid}"
,
key: 'TwitchTV'
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/([^#\&\?]*)/
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/(\w[^#\&\?]*)/
httpOnly: true
style: "border: none; width: 640px; height: 360px;"
el: (a) ->