2018-12-05 23:21:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
module PerformanceBarHelper
|
|
|
|
# This is a hack since using `alias_method :performance_bar_enabled?, :peek_enabled?`
|
|
|
|
# in WithPerformanceBar breaks tests (but works in the browser).
|
|
|
|
def performance_bar_enabled?
|
|
|
|
peek_enabled?
|
|
|
|
end
|
|
|
|
end
|