11cfcf17 by Michael Richards

Move the formatters initialize before config.

1 parent c390f392
......@@ -674,6 +674,14 @@ Rivets.binders =
# instance.
Rivets.components = {}
# Rivets.formatters
# -----------------
# Default formatters (there aren't any), publicly accessible on
# `module.formatters`. Can be overridden globally or local to a `Rivets.View`
# instance.
Rivets.formatters = {}
# Rivets.config
# -------------
......@@ -684,14 +692,6 @@ Rivets.config =
handler: (context, ev, binding) ->
@call context, ev, binding.view.models
# Rivets.formatters
# -----------------
# Default formatters (there aren't any), publicly accessible on
# `module.formatters`. Can be overridden globally or local to a `Rivets.View`
# instance.
Rivets.formatters = {}
# Rivets.factory
# --------------
......