]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Cleanup day-of-week 3235/head
authorIskren Chernev <iskren.chernev@gmail.com>
Mon, 20 Jun 2016 08:23:21 +0000 (01:23 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 20 Jun 2016 08:23:21 +0000 (01:23 -0700)
src/lib/units/day-of-week.js

index 04968c649ba1bef50227376c29baf777f3f06e84..54cfa45a6cfaed17659ffee33f12eb7ce3dcaa14 100644 (file)
@@ -358,9 +358,3 @@ function computeWeekdaysParse () {
     this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
     this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');
 }
-
-function setDefaultRegexes () {
-    this._weekdaysRegex = defaultWeekdaysRegex;
-    this._weekdaysShortRegex = defaultWeekdaysShortRegex;
-    this._weekdaysMinRegex = defaultWeekdaysMinRegex;
-}