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

Function createFromConfig

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

Source from the content-addressed store, hash-verified

2900 }
2901
2902 function createFromConfig (config) {
2903 var res = new Moment(checkOverflow(prepareConfig(config)));
2904 if (res._nextDay) {
2905 // Adding is smart enough around DST
2906 res.add(1, 'd');
2907 res._nextDay = undefined;
2908 }
2909
2910 return res;
2911 }
2912
2913 function prepareConfig (config) {
2914 var input = config._i,

Callers 1

createLocalOrUTCFunction · 0.85

Calls 2

checkOverflowFunction · 0.85
prepareConfigFunction · 0.85

Tested by

no test coverage detected