Merge branch 'master' into gh-pages
This commit is contained in:
@@ -7,6 +7,7 @@ Made just for fun. [Play it here!](http://gabrielecirulli.github.io/2048/)
|
||||
|
||||
- [TimPetricola](https://github.com/TimPetricola) added best score storage
|
||||
- [chrisprice](https://github.com/chrisprice) added custom code for swipe handling on mobile
|
||||
- [elektryk](https://github.com/elektryk) made swipes work on Windows Phone
|
||||
|
||||
Many thanks to [rayhaanj](https://github.com/rayhaanj), [Mechazawa](https://github.com/Mechazawa), [grant](https://github.com/grant), [remram44](https://github.com/remram44) and [ghoullier](https://github.com/ghoullier) for the many other good contributions.
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
require "date"
|
||||
|
||||
namespace :appcache do
|
||||
desc "update the date in the appcache file (in the gh-pages branch)"
|
||||
task :update do
|
||||
appcache = File.read("cache.appcache")
|
||||
updated = "# Updated: #{DateTime.now}\n"
|
||||
|
||||
File.write("cache.appcache", appcache.sub(/\A(#.*$\n)?/, updated))
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user