what's a 'test'?

This commit is contained in:
John Bintz 2012-03-16 11:34:57 -04:00
parent a7e899eb46
commit 32eb3eb401
2 changed files with 6 additions and 4 deletions

View File

@ -12,7 +12,7 @@ module Flowerbox
def inject_into(sprockets) def inject_into(sprockets)
super super
@sprockets.register_engine('.feature', Flowerbox::Delivery::Tilt::FeatureTemplate) @sprockets.register_engine('.feature', Flowerbox::Tilt::FeatureTemplate)
end end
def global_system_files def global_system_files
@ -84,7 +84,9 @@ JS
end end
end end
module Flowerbox::Delivery::Tilt module Flowerbox
autoload :FeatureTemplate, 'flowerbox/delivery/tilt/feature_template' module Tilt
autoload :FeatureTemplate, 'flowerbox/tilt/feature_template'
end
end end

View File

@ -1,6 +1,6 @@
require 'tilt' require 'tilt'
module Flowerbox::Delivery::Tilt module Flowerbox::Tilt
class FeatureTemplate < Tilt::Template class FeatureTemplate < Tilt::Template
self.default_mime_type = 'application/javascript' self.default_mime_type = 'application/javascript'