diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-11-17 12:02:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 12:02:16 -0500 |
commit | a7987149582a42e0f6d05813bc0f61fcdd6f805c (patch) | |
tree | ec862778a119f86c21943db625839bae31de5bb9 /webapp/components/youtube_video.jsx | |
parent | b1db1463f6e858b535d291d3f442eaf8a05bc410 (diff) | |
download | chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.tar.gz chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.tar.bz2 chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.zip |
Updating eslint (#4573)
Diffstat (limited to 'webapp/components/youtube_video.jsx')
-rw-r--r-- | webapp/components/youtube_video.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/youtube_video.jsx b/webapp/components/youtube_video.jsx index 93ea4f946..908a2c74e 100644 --- a/webapp/components/youtube_video.jsx +++ b/webapp/components/youtube_video.jsx @@ -5,7 +5,7 @@ import ChannelStore from 'stores/channel_store.jsx'; import WebClient from 'client/web_client.jsx'; import * as Utils from 'utils/utils.jsx'; -const ytRegex = /(?:http|https):\/\/(?:www\.|m\.)?(?:(?:youtube\.com\/(?:(?:v\/)|(?:(?:watch|embed\/watch)(?:\/|.*v=))|(?:embed\/)|(?:user\/[^\/]+\/u\/[0-9]\/)))|(?:youtu\.be\/))([^#&\?]*)/; +const ytRegex = /(?:http|https):\/\/(?:www\.|m\.)?(?:(?:youtube\.com\/(?:(?:v\/)|(?:(?:watch|embed\/watch)(?:\/|.*v=))|(?:embed\/)|(?:user\/[^/]+\/u\/[0-9]\/)))|(?:youtu\.be\/))([^#&?]*)/; import React from 'react'; |