Tilt::Template
# File lib/sprockets/jst_processor.rb, line 7 def self.default_namespace 'this.JST' end
# File lib/sprockets/jst_processor.rb, line 17 def evaluate(scope, locals, &block) (function() { #{namespace} || (#{namespace} = {}); #{namespace}[#{scope.logical_path.inspect}] = #{indent(data)};}).call(this); end
# File lib/sprockets/jst_processor.rb, line 11 def prepare @namespace = self.class.default_namespace end
[Validate]
Generated with the Darkfish Rdoc Generator 2.