 # Appends bound instances of the element in place for each item in the array.
 Rivets.public.binders['each-*'] =
   block: true
+  priority: 3000
 
   bind: (el) ->
     unless @marker?

# unchecked (two-way binder).
Rivets.public.binders.unchecked =
  publishes: true
  bind: (el) ->
    Rivets.Util.bindEvent el, 'change', @publish
  unbind: (el) ->
    Rivets.Util.unbindEvent el, 'change', @publish
  routine: (el, value) ->
    if el.type is 'radio'
      el.checked = el.value?.toString() isnt value?.toString()

# (two-way binder).
Rivets.public.binders.value =
  publishes: true
  priority: 2000

  bind: (el) ->
    @event = if el.tagName is 'SELECT' then 'change' else 'input'
