Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
11cfcf17
authored
2013-07-13 18:48:46 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Move the formatters initialize before config.
1 parent
c390f392
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/rivets.coffee
src/rivets.coffee
View file @
11cfcf1
...
...
@@ -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
# --------------
...
...
Please
register
or
sign in
to post a comment