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
dacf10b9
authored
2013-09-16 23:30:19 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Build 0.5.13.
1 parent
302b5fff
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
component.json
dist/rivets.js
dist/rivets.min.js
package.json
src/rivets.coffee
component.json
View file @
dacf10b
...
...
@@ -2,7 +2,7 @@
"name"
:
"rivets"
,
"repo"
:
"mikeric/rivets"
,
"description"
:
"Declarative data binding facility."
,
"version"
:
"0.5.1
2
"
,
"version"
:
"0.5.1
3
"
,
"keywords"
:
[
"data binding"
,
"templating"
],
"scripts"
:
[
"dist/rivets.js"
],
"main"
:
"dist/rivets.js"
,
...
...
dist/rivets.js
View file @
dacf10b
// Rivets.js
// version: 0.5.1
2
// version: 0.5.1
3
// author: Michael Richards
// license: MIT
(
function
()
{
var
Rivets
,
var
Rivets
,
jQuery
,
__bind
=
function
(
fn
,
me
){
return
function
(){
return
fn
.
apply
(
me
,
arguments
);
};
},
__slice
=
[].
slice
,
__hasProp
=
{}.
hasOwnProperty
,
...
...
@@ -12,6 +12,8 @@
Rivets
=
{};
jQuery
=
window
.
jQuery
||
window
.
Zepto
;
if
(
!
String
.
prototype
.
trim
)
{
String
.
prototype
.
trim
=
function
()
{
return
this
.
replace
(
/^
\s
+|
\s
+$/g
,
''
);
...
...
@@ -319,7 +321,7 @@
this
.
build
=
__bind
(
this
.
build
,
this
);
this
.
componentRegExp
=
__bind
(
this
.
componentRegExp
,
this
);
this
.
bindingRegExp
=
__bind
(
this
.
bindingRegExp
,
this
);
if
(
!
(
this
.
els
.
jquery
||
this
.
els
instanceof
Array
)
)
{
if
(
typeof
this
.
els
.
length
===
'undefined'
)
{
this
.
els
=
[
this
.
els
];
}
_ref
=
[
'config'
,
'binders'
,
'formatters'
];
...
...
dist/rivets.min.js
View file @
dacf10b
This diff is collapsed.
Click to expand it.
package.json
View file @
dacf10b
{
"name"
:
"rivets"
,
"description"
:
"Declarative data binding facility."
,
"version"
:
"0.5.1
2
"
,
"version"
:
"0.5.1
3
"
,
"author"
:
"Michael Richards"
,
"url"
:
"http://rivetsjs.com"
,
"main"
:
"./dist/rivets.js"
,
...
...
src/rivets.coffee
View file @
dacf10b
# Rivets.js
# =========
# > version: 0.5.1
2
# > version: 0.5.1
3
# > author: Michael Richards
# > license: MIT
# >
...
...
Please
register
or
sign in
to post a comment