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

Function configFromObject

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

Source from the content-addressed store, hash-verified

2889 }
2890
2891 function configFromObject(config) {
2892 if (config._d) {
2893 return;
2894 }
2895
2896 var i = normalizeObjectUnits(config._i);
2897 config._a = [i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond];
2898
2899 configFromArray(config);
2900 }
2901
2902 function createFromConfig (config) {
2903 var res = new Moment(checkOverflow(prepareConfig(config)));

Callers 1

configFromInputFunction · 0.85

Calls 2

normalizeObjectUnitsFunction · 0.85
configFromArrayFunction · 0.85

Tested by

no test coverage detected