Add liquid profile attributes

Attribute testing

Add partial name support
This commit is contained in:
uchoudh
2019-10-03 10:12:39 -04:00
parent 1aa7d3d2ba
commit fefee4c675
3 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ module Liquid
if @profiling && !context.partial
raise "Profiler not loaded, require 'liquid/profiler' first" unless defined?(Liquid::Profiler)
@profiler = Profiler.new
@profiler = Profiler.new(context.template_name)
@profiler.start
begin