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
79c79cbc
authored
2013-08-05 12:34:43 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Don't overwrite the default adapter in the binding spec.
1 parent
85ae960a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
spec/rivets/binding.js
spec/rivets/binding.js
View file @
79c79cb
...
...
@@ -2,14 +2,7 @@ describe('Rivets.Binding', function() {
var
model
,
el
,
view
,
binding
,
opts
;
beforeEach
(
function
()
{
adapter
=
{
subscribe
:
function
()
{},
unsubscribe
:
function
()
{},
read
:
function
()
{
return
{}
},
publish
:
function
()
{}
};
rivets
.
adapters
[
'.'
]
=
adapter
;
adapter
=
rivets
.
adapters
[
'.'
]
el
=
document
.
createElement
(
'div'
);
el
.
setAttribute
(
'data-text'
,
'obj.name'
);
...
...
Please
register
or
sign in
to post a comment