Merge pull request #485 from Shopify/lazy-load-profiler-hooks

Defer loading profiler hooks
This commit is contained in:
Justin Li
2014-12-05 15:10:16 -05:00
4 changed files with 8 additions and 5 deletions
+1
View File
@@ -5,6 +5,7 @@ require 'spy/integration'
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '..', 'lib'))
require 'liquid.rb'
require 'liquid/profiler'
mode = :strict
if env_mode = ENV['LIQUID_PARSER_MODE']