You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2017/06/18 07:41:01 UTC
svn commit: r1799053 - in /comdev/reporter.apache.org/trunk/site/js:
coffee/main.coffee tabs.js
Author: humbedooh
Date: Sun Jun 18 07:41:01 2017
New Revision: 1799053
URL: http://svn.apache.org/viewvc?rev=1799053&view=rev
Log:
s/find/search/
Modified:
comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee
comdev/reporter.apache.org/trunk/site/js/tabs.js
Modified: comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee?rev=1799053&r1=1799052&r2=1799053&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee (original)
+++ comdev/reporter.apache.org/trunk/site/js/coffee/main.coffee Sun Jun 18 07:41:01 2017
@@ -47,7 +47,7 @@ getWednesdays = (mo, y) ->
# check if the entry is a wildcard month
everyMonth = (s) ->
- if (s.find('Next month') != -1)
+ if (s.search /next month/i != -1)
return true
return s == 'Every month'
Modified: comdev/reporter.apache.org/trunk/site/js/tabs.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/tabs.js?rev=1799053&r1=1799052&r2=1799053&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/tabs.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/tabs.js Sun Jun 18 07:41:01 2017
@@ -157,7 +157,7 @@ getWednesdays = function(mo, y) {
};
everyMonth = function(s) {
- if (s.find('Next month') !== -1) {
+ if (s.search(/next month/i !== -1)) {
return true;
}
return s === 'Every month';