History

Formatting

Jasper van Merle committed 7 years ago

Commit 52e982b1 parent 5dc14371 file · +8 −8Browse files

Unified · Split

lib/app.rb+8−8
@@ -215,18 +215,18 @@ class App < Sinatra::Application · 214 unmodified lines
215215 end
216216
217217 digest = Sprockets::Manifest
218− .new(nil, App.assets_manifest_path)
219− .files
220− .values
221− .map {|file| file["digest"]}
222− .join
218+ .new(nil, App.assets_manifest_path)
219+ .files
220+ .values
221+ .map {|file| file["digest"]}
222+ .join
223223
224224 return @@service_worker_cache_name ||= Digest::MD5.hexdigest(digest)
225225 else
226226 paths = App.sprockets
227− .each_file
228− .to_a
229− .reject {|file| file.start_with?(App.docs_path)}
227+ .each_file
228+ .to_a
229+ .reject {|file| file.start_with?(App.docs_path)}
230230
231231 return App.sprockets.pack_hexdigest(App.sprockets.files_digest(paths))
232232 end