mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 20:24:40 +08:00
DEV: prevents attemps to redefine THEME_TARGETS constant (#8121)
This commit is contained in:
@ -7,7 +7,7 @@ module Stylesheet
|
|||||||
class Importer < SassC::Importer
|
class Importer < SassC::Importer
|
||||||
include GlobalPath
|
include GlobalPath
|
||||||
|
|
||||||
THEME_TARGETS = %w{embedded_theme mobile_theme desktop_theme}
|
THEME_TARGETS ||= %w{embedded_theme mobile_theme desktop_theme}
|
||||||
|
|
||||||
def self.special_imports
|
def self.special_imports
|
||||||
@special_imports ||= {}
|
@special_imports ||= {}
|
||||||
|
Reference in New Issue
Block a user