montagejs/montage — pull request #1320 by jseidelin (2013-10-17 12:30:26+00:00)
Title: Change RangeController selection to null and restrict selection to content

This changes the default value of .selection null, forcing users to set the initial .selection to a compatible type (Array, Set, ...). Specs have been expanded to cover selection as Array and selection as Set.

Additionally, .selection is now constrained to elements that are present in .content.