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
6b45002c
authored
2013-05-22 21:51:21 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' into event-handler-configuration
2 parents
a2234cde
c22a01d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
src/rivets.coffee
src/rivets.coffee
View file @
6b45002
...
...
@@ -368,13 +368,14 @@ Rivets.binders =
block
:
true
bind
:
(
el
)
->
attr
=
[
'data'
,
@
view
.
config
.
prefix
,
@
type
].
join
(
'-'
).
replace
'--'
,
'-'
@
marker
=
document
.
createComment
" rivets:
#{
@
type
}
"
@
iterated
=
[]
el
.
removeAttribute
attr
el
.
parentNode
.
insertBefore
@
marker
,
el
el
.
parentNode
.
removeChild
el
unless
@
marker
?
attr
=
[
'data'
,
@
view
.
config
.
prefix
,
@
type
].
join
(
'-'
).
replace
'--'
,
'-'
@
marker
=
document
.
createComment
" rivets:
#{
@
type
}
"
@
iterated
=
[]
el
.
removeAttribute
attr
el
.
parentNode
.
insertBefore
@
marker
,
el
el
.
parentNode
.
removeChild
el
unbind
:
(
el
)
->
view
.
unbind
()
for
view
in
@
iterated
if
@
iterated
?
...
...
Please
register
or
sign in
to post a comment