mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative '../mixins/twitch_onebox'
|
||||
require_relative "../mixins/twitch_onebox"
|
||||
|
||||
class Onebox::Engine::TwitchClipsOnebox
|
||||
def self.twitch_regexp
|
||||
/^https?:\/\/clips\.twitch\.tv\/([a-zA-Z0-9_]+\/?[^#\?\/]+)/
|
||||
%r{^https?://clips\.twitch\.tv/([a-zA-Z0-9_]+/?[^#\?/]+)}
|
||||
end
|
||||
|
||||
include Onebox::Mixins::TwitchOnebox
|
||||
|
||||
Reference in New Issue
Block a user