lib/sproutcore/helpers/static_helper.rb
# Returns the URL for the named resource
Returns the URL for the named resource
Returns the URL for the named resource
def static_url(resource_name, opts = {})
        opts[:language] ||= language
        opts[:platform] ||= platform
        entry = bundle.find_resource_entry(resource_name, opts)
        entry.nil? ? '' : entry.cacheable_url
      end
def static_url ( resource_name , opts = { } ) opts [ :language ] ||= language opts [ :platform ] ||= platform entry = bundle . find_resource_entry ( resource_name , opts ) entry . nil? ? '' : entry . cacheable_url end
Returns the URL for the named resource
Returns the URL for the named resource
resource_name
<not_specific>
opts
<not_specific>