Skip to content

Commit 502f21d

Browse files
committed
Merge branch 'der-On-patch-1'
* der-On-patch-1: Reformat code; remove legacy support compatibility to rivets 0.7.0 with new sightglass adapters
2 parents 131b4c5 + de076ef commit 502f21d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rivets-backbone.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@
125125
}
126126

127127
// Configure rivets data-bind for Backbone.js
128-
rivets.adapters[':'] = {
129-
subscribe: onOffFactory('on'),
130-
unsubscribe: onOffFactory('off'),
131-
read: read,
132-
publish: publish
128+
rivets.adapters[':'] = {
129+
observe: onOffFactory('on'),
130+
unobserve: onOffFactory('off'),
131+
get: read,
132+
set: publish
133133
};
134134

135135
return rivets;

0 commit comments

Comments
 (0)