e3afa8bb by Adam Heath

Rewrote to use commonsjs amd pattern.

1 parent 5b6af54d
1 define([ 1 define(function(require) {
2 'module',
3 'rivets',
4 'jquery'
5 ], function(
6 module,
7 rivets,
8 $
9 ) {
10 'use strict'; 2 'use strict';
3 var module = require('module');
4 var rivets = require('rivets');
5 var $ = require('jquery');
6
11 var rivetsBinderCall = function(binding, binderName, methodName, args) { 7 var rivetsBinderCall = function(binding, binderName, methodName, args) {
12 var binder = rivets.binders[binderName]; 8 var binder = rivets.binders[binderName];
13 binder[methodName].apply(binding, args); 9 binder[methodName].apply(binding, args);
......