timcameronryan/selection.js — pull request #1 by joshduck (2012-03-12 21:39:50+00:00)
Title: removeAllRanges should be called on selection.

Unless expression should be inside parenthesis, or sel is assigned the value of the expression `win.getSelection() == null`