It's actually just changing class="caret" to class="icon-caret-down" for bootstrap3 compatibility.  I don't know how the order of the attributes got switched.