MCPcopy Index your code
hub / github.com/feiyu563/PrometheusAlert / weekdaysRegex

Function weekdaysRegex

static/plugins/chart.js/Chart.bundle.js:16262–16279  ·  view source on GitHub ↗
(isStrict)

Source from the content-addressed store, hash-verified

16260
16261 var defaultWeekdaysRegex = matchWord;
16262 function weekdaysRegex (isStrict) {
16263 if (this._weekdaysParseExact) {
16264 if (!hasOwnProp(this, '_weekdaysRegex')) {
16265 computeWeekdaysParse.call(this);
16266 }
16267 if (isStrict) {
16268 return this._weekdaysStrictRegex;
16269 } else {
16270 return this._weekdaysRegex;
16271 }
16272 } else {
16273 if (!hasOwnProp(this, '_weekdaysRegex')) {
16274 this._weekdaysRegex = defaultWeekdaysRegex;
16275 }
16276 return this._weekdaysStrictRegex && isStrict ?
16277 this._weekdaysStrictRegex : this._weekdaysRegex;
16278 }
16279 }
16280
16281 var defaultWeekdaysShortRegex = matchWord;
16282 function weekdaysShortRegex (isStrict) {

Callers

nothing calls this directly

Calls 1

hasOwnPropFunction · 0.85

Tested by

no test coverage detected