what's a 'test'?
This commit is contained in:
parent
a7e899eb46
commit
32eb3eb401
@ -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
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user