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
169311ac
authored
2013-04-06 11:20:13 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Build 0.4.7.
1 parent
754c0d52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
component.json
lib/rivets.js
lib/rivets.min.js
package.json
src/rivets.coffee
component.json
View file @
169311a
...
...
@@ -2,7 +2,7 @@
"name"
:
"rivets"
,
"repo"
:
"mikeric/rivets"
,
"description"
:
"Declarative data binding facility."
,
"version"
:
"0.4.
6
"
,
"version"
:
"0.4.
7
"
,
"keywords"
:
[
"data binding"
,
"templating"
],
"scripts"
:
[
"lib/rivets.js"
],
"main"
:
"lib/rivets.js"
,
...
...
lib/rivets.js
View file @
169311a
// rivets.js
// version: 0.4.
6
// version: 0.4.
7
// author: Michael Richards
// license: MIT
(
function
()
{
...
...
@@ -439,8 +439,9 @@
return
unbindEvent
(
el
,
'change'
,
this
.
currentListener
);
},
routine
:
function
(
el
,
value
)
{
var
_ref
;
if
(
el
.
type
===
'radio'
)
{
return
el
.
checked
=
el
.
value
===
value
;
return
el
.
checked
=
((
_ref
=
el
.
value
)
!=
null
?
_ref
.
toString
()
:
void
0
)
===
(
value
!=
null
?
value
.
toString
()
:
void
0
)
;
}
else
{
return
el
.
checked
=
!!
value
;
}
...
...
@@ -455,8 +456,9 @@
return
unbindEvent
(
el
,
'change'
,
this
.
currentListener
);
},
routine
:
function
(
el
,
value
)
{
var
_ref
;
if
(
el
.
type
===
'radio'
)
{
return
el
.
checked
=
el
.
value
!==
value
;
return
el
.
checked
=
((
_ref
=
el
.
value
)
!=
null
?
_ref
.
toString
()
:
void
0
)
!==
(
value
!=
null
?
value
.
toString
()
:
void
0
)
;
}
else
{
return
el
.
checked
=
!
value
;
}
...
...
@@ -610,7 +612,8 @@
factory
(
exports
);
}
else
if
(
typeof
define
===
'function'
&&
define
.
amd
)
{
define
([
'exports'
],
function
(
exports
)
{
return
this
.
rivets
=
factory
(
exports
);
factory
(
this
.
rivets
=
exports
);
return
exports
;
});
}
else
{
factory
(
this
.
rivets
=
{});
...
...
lib/rivets.min.js
View file @
169311a
This diff is collapsed.
Click to expand it.
package.json
View file @
169311a
{
"name"
:
"rivets"
,
"description"
:
"Declarative data binding facility."
,
"version"
:
"0.4.
6
"
,
"version"
:
"0.4.
7
"
,
"author"
:
"Michael Richards"
,
"url"
:
"http://rivetsjs.com"
,
"main"
:
"./lib/rivets.js"
,
...
...
src/rivets.coffee
View file @
169311a
# rivets.js
# version : 0.4.
6
# version : 0.4.
7
# author : Michael Richards
# license : MIT
...
...
Please
register
or
sign in
to post a comment