lib/sprockets_spacely/mustache/template/processor.rb in sprockets_spacely-0.0.2 vs lib/sprockets_spacely/mustache/template/processor.rb in sprockets_spacely-0.1.0

- old
+ new

@@ -10,16 +10,16 @@ def prepare end def evaluate(scope, locals, &block) - namespace = Namespace.value || "window" + library = Library.value || "jQuery" - Generator.new(namespace, scope.logical_path, escape_javascript(data)).generate + Generator.new(namespace, scope.logical_path, escape_javascript(data), library).generate end end end end register_engine '.mustache', ::Sprockets::Mustache::Template::Processor -end \ No newline at end of file +end