lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.32.0.pre.beta.pre.4 vs lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.91.0

- old
+ new

@@ -41,19 +41,13 @@ def initialize(cause) super "Could not parse manifest JSON (original error #{cause})" end end - class LegacyManifestError < StandardError - def initialize(manifest) - super "manifest must contain 'entrypoints' key (found: #{manifest})" - end - end - class << self # :nodoc: - def asset_dependencies(entrypoint_name) - instance.asset_dependencies(entrypoint_name) + def asset_dependencies(entrypoint_name, user_agent) + instance.asset_dependencies(entrypoint_name, user_agent) end def clear_cache! @instance = nil end