MCPcopy Index your code
hub / github.com/csev/py4e / configFromString

Function configFromString

code/gmane/Chart.bundle.js:2411–2424  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

2409
2410 // date from iso format or fallback
2411 function configFromString(config) {
2412 var matched = aspNetJsonRegex.exec(config._i);
2413
2414 if (matched !== null) {
2415 config._d = new Date(+matched[1]);
2416 return;
2417 }
2418
2419 configFromISO(config);
2420 if (config._isValid === false) {
2421 delete config._isValid;
2422 utils_hooks__hooks.createFromInputFallback(config);
2423 }
2424 }
2425
2426 utils_hooks__hooks.createFromInputFallback = deprecate(
2427 'moment construction falls back to js Date. This is ' +

Callers 1

configFromInputFunction · 0.85

Calls 1

configFromISOFunction · 0.85

Tested by

no test coverage detected