millermedeiros / crossroads.js

JavaScript Routes
http://millermedeiros.github.com/crossroads.js/
1.44k stars 156 forks source link

Interpolate function looping edge case #146

Open brenthosie opened 8 years ago

brenthosie commented 8 years ago

Edge case fix in interpolate when the array contains other enumerable data that should not be looped over. This unwanted behavior is documented here: http://devdocs.io/javascript/statements/for...in