# encoding: utf-8 module Sinatra module ClassyAssets module Helpers def stylesheet_tag(sources, options = {}) options = { media: 'screen' }.merge(options) ::ClassyAssets.asset_tag_from(sources, 'css') do |asset_url| %Q{} end end def javascript_tag(sources) ::ClassyAssets.asset_tag_from(sources, 'js') do |asset_url| %Q{} end end def asset_url(source) ::ClassyAssets.asset_url_for(source) end end def self.registered(app) app.helpers Helpers end end register ClassyAssets end