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
372a30f1
authored
2012-10-21 18:25:26 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' into advanced-custom-binders-api
2 parents
11b5f2da
84e325a6
Expand all
Show 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 @
372a30f
// 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 @
372a30f
This diff is collapsed.
Click to expand it.
package.json
View file @
372a30f
{
"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 @
372a30f
# 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