Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets-error-binder
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
e3afa8bb
authored
2016-06-03 12:35:58 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Rewrote to use commonsjs amd pattern.
1 parent
5b6af54d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
src/scripts/rivets-error-binder.js
src/scripts/rivets-error-binder.js
View file @
e3afa8b
define
([
'module'
,
'rivets'
,
'jquery'
],
function
(
module
,
rivets
,
$
)
{
define
(
function
(
require
)
{
'use strict'
;
var
module
=
require
(
'module'
);
var
rivets
=
require
(
'rivets'
);
var
$
=
require
(
'jquery'
);
var
rivetsBinderCall
=
function
(
binding
,
binderName
,
methodName
,
args
)
{
var
binder
=
rivets
.
binders
[
binderName
];
binder
[
methodName
].
apply
(
binding
,
args
);
...
...
Please
register
or
sign in
to post a comment