enyo.Panels.setIndex() can now respect values beyond the immediate scope of the current panel indexes, if `wrap: true` is present. Running `enyo.Panels.setIndex(-2)` will now set the index to the second-to-last panel on the getPanels() stack, if `wrap: true` is set. If not, it will simply set the index to 0 (zero), clamping, as it did previously.
enyo.Panels.setIndex() can now respect values beyond the immediate scope of the current panel indexes, if `wrap: true` is present. Running `enyo.Panels.setIndex(-2)` will now set the index to the second-to-last panel on the getPanels() stack, if `wrap: true` is set. If not, it will simply set the index to 0 (zero), clamping, as it did previously.

enyojs/layout