@@ -41,7 +41,7 @@ steal('can/util', function(){
41
41
// Calls `callback(newVal, oldVal)` everytime an observed property
42
42
// called within `getterSetter` is changed and creates a new result of `getterSetter`.
43
43
// Also returns an object that can teardown all event handlers.
44
- binder = function ( getterSetter , context , callback ) {
44
+ computeBinder = function ( getterSetter , context , callback ) {
45
45
// track what we are observing
46
46
var observing = { } ,
47
47
// a flag indicating if this observe/attr pair is already bound
@@ -308,7 +308,7 @@ steal('can/util', function(){
308
308
can . addEvent . apply ( computed , arguments ) ;
309
309
if ( bindings === 0 && canbind ) {
310
310
// setup live-binding
311
- computedData = binder ( getterSetter , context || this , function ( newValue , oldValue ) {
311
+ computedData = computeBinder ( getterSetter , context || this , function ( newValue , oldValue ) {
312
312
can . trigger ( computed , "change" , [ newValue , oldValue ] )
313
313
} ) ;
314
314
}
@@ -328,5 +328,5 @@ steal('can/util', function(){
328
328
} ;
329
329
return computed ;
330
330
} ;
331
- can . compute . binder = binder ;
331
+ can . compute . binder = computeBinder ;
332
332
} )
0 commit comments