You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2018/05/18 04:53:38 UTC
[whimsy] branch master updated: remove extraneous backslash
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new a813441 remove extraneous backslash
a813441 is described below
commit a81344189bc6197ed9b2240e428c3f5e0b181851
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri May 18 00:53:03 2018 -0400
remove extraneous backslash
---
www/board/agenda/views/sw.js.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/views/sw.js.rb b/www/board/agenda/views/sw.js.rb
index c482559..896d34f 100644
--- a/www/board/agenda/views/sw.js.rb
+++ b/www/board/agenda/views/sw.js.rb
@@ -170,7 +170,7 @@ self.addEventListener :fetch do |event|
if url.end_with? '/bootstrap.html'
return
- elsif url =~ %r{^\d\d\d\d-\d\d-\d\d/(\w+\/)?[-\w]*$}
+ elsif url =~ %r{^\d\d\d\d-\d\d-\d\d/(\w+/)?[-\w]*$}
# substitute bootstrap.html for html pages
date = url.split('/')[0]
bootstrap_url = "#{scope}#{date}/bootstrap.html"
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.