spec/support/plugins/my_plugin.rb in locomotive_plugins-1.0.1 vs spec/support/plugins/my_plugin.rb in locomotive_plugins-1.1.0

- old
+ new

@@ -46,9 +46,16 @@ def self.liquid_tags { 'my_tag' => MyTag } end + def self.javascript_context + { + variable: self.custom_attribute, + method: lambda{|this,word,times| word * times } + } + end + def my_method1 'This is my before filter!' end def my_method2