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
37b8033f
authored
2012-07-05 21:55:58 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Compile changes made in pull #7.
1 parent
74db87eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
lib/rivets.js
lib/rivets.js
View file @
37b8033
...
...
@@ -168,7 +168,11 @@
unselected
:
stateBinding
(
'selected'
,
true
),
enabled
:
stateBinding
(
'disabled'
,
true
),
text
:
function
(
el
,
value
)
{
return
el
.
innerText
=
value
||
''
;
if
(
el
.
innerText
!=
null
)
{
return
el
.
innerText
=
value
||
''
;
}
else
{
return
el
.
textContent
=
value
||
''
;
}
},
html
:
function
(
el
,
value
)
{
return
el
.
innerHTML
=
value
||
''
;
...
...
Please
register
or
sign in
to post a comment