409
409
// needs to be an array, so we are converting it back to an object
410
410
// here so that the GUI displays it properly.
411
411
var constraintsMap = {}, vals;
412
415
if (Y.Lang.isArray(constraints)) {
413
416
constraints.forEach(function(cons) {