MCPcopy
hub / github.com/zxlie/FeHelper / a

Function a

apps/crontab/index.js:190–192  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

188 var r = [null, "minutes", "hours", "dates", "months", "weekdays"];
189 return e.schedule.errors && e.schedule.errors.includes(r[t]) ? n.push("invalid") : e.schedule.warnings && e.schedule.warnings.includes(r[t]) && n.push("warning"), n.join(" ")
190 }, a = function (e, t) {
191 return e.selectedPart === t ? "" : "display: none"
192 };
193 e.exports = function (e, t, n) {
194 function r(e, t) {
195 e.preventDefault(), n("selectPart", t)

Callers 2

crontabGuruStarterFunction · 0.70
NFunction · 0.70

Calls 4

normalizeMethod · 0.80
describeMethod · 0.80
cFunction · 0.70
uFunction · 0.70

Tested by

no test coverage detected