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
84e325a6
authored
2012-10-21 18:24:27 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Build 0.3.13.
1 parent
ae93758f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
lib/rivets.js
lib/rivets.min.js
package.json
src/rivets.coffee
lib/rivets.js
View file @
84e325a
// rivets.js
// version: 0.3.1
2
// version: 0.3.1
3
// author: Michael Richards
// license: MIT
(
function
()
{
...
...
@@ -126,7 +126,7 @@
if
(
!
this
.
options
.
bypass
)
{
Rivets
.
config
.
adapter
.
unsubscribe
(
this
.
model
,
this
.
keypath
,
this
.
sync
);
if
(
this
.
isBidirectional
())
{
unbindEvent
(
this
.
el
(
'change'
,
this
.
publish
)
);
unbindEvent
(
this
.
el
,
'change'
,
this
.
publish
);
}
}
if
((
_ref
=
this
.
options
.
dependencies
)
!=
null
?
_ref
.
length
:
void
0
)
{
...
...
@@ -238,8 +238,13 @@
path
=
context
.
shift
();
splitPath
=
path
.
split
(
/
\.
|:/
);
options
.
formatters
=
pipes
;
model
=
_this
.
models
[
splitPath
.
shift
()];
options
.
bypass
=
path
.
indexOf
(
':'
)
!==
-
1
;
if
(
splitPath
[
0
])
{
model
=
_this
.
models
[
splitPath
.
shift
()];
}
else
{
model
=
_this
.
models
;
splitPath
.
shift
();
}
keypath
=
splitPath
.
join
(
'.'
);
if
(
model
)
{
if
(
dependencies
=
context
.
shift
())
{
...
...
lib/rivets.min.js
View file @
84e325a
This diff is collapsed.
Click to expand it.
package.json
View file @
84e325a
{
"name"
:
"rivets"
,
"description"
:
"Declarative data binding facility."
,
"version"
:
"0.3.1
2
"
,
"version"
:
"0.3.1
3
"
,
"author"
:
"Michael Richards"
,
"url"
:
"http://rivetsjs.com"
,
"main"
:
"./lib/rivets.js"
,
...
...
src/rivets.coffee
View file @
84e325a
# rivets.js
# version : 0.3.1
2
# version : 0.3.1
3
# author : Michael Richards
# license : MIT
...
...
Please
register
or
sign in
to post a comment